summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/logging/eventlog.rb2
-rw-r--r--lib/chef/logging/windows_eventlog.rb3
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/logging/eventlog.rb b/lib/chef/logging/eventlog.rb
index 00841272a3..2c74cdbdb0 100644
--- a/lib/chef/logging/eventlog.rb
+++ b/lib/chef/logging/eventlog.rb
@@ -2,7 +2,5 @@ require 'chef/event_dispatch/base'
class Chef
module Logging
- class EventLogger < EventDispatch::Base
- end
end
end
diff --git a/lib/chef/logging/windows_eventlog.rb b/lib/chef/logging/windows_eventlog.rb
index 16dedb12ed..3fffd77138 100644
--- a/lib/chef/logging/windows_eventlog.rb
+++ b/lib/chef/logging/windows_eventlog.rb
@@ -2,13 +2,14 @@
# These are redefined in 'win32/eventlog'
Windows::Constants.send(:remove_const, c)
end
+
require 'chef/logging/eventlog'
require 'win32/eventlog'
include Win32
class Chef
module Logging
- class WindowsEventLogger < Logging::EventLogger
+ class WindowsEventLogger < EventDispatch::Base
# These must match those that are defined in the manifest file
RUN_START_EVENT_ID = 10000
RUN_STARTED_EVENT_ID = 10001