summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-10-15 08:57:13 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2014-10-22 13:03:23 -0700
commit2572f6a15a6a807bfb67ca1d65efdecc537642f4 (patch)
treeb2e4c4a4f0fb2edb61d46eb858dcc011be27a890
parent1cf4fbcc48da1a92b0aaa34ea7dec5ec04e44fa9 (diff)
downloadchef-2572f6a15a6a807bfb67ca1d65efdecc537642f4.tar.gz
Removed unused base class
-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