summaryrefslogtreecommitdiff
path: root/lib/chef/log/winevt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/log/winevt.rb')
-rw-r--r--lib/chef/log/winevt.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/log/winevt.rb b/lib/chef/log/winevt.rb
index 84ae80b634..53127877e1 100644
--- a/lib/chef/log/winevt.rb
+++ b/lib/chef/log/winevt.rb
@@ -16,9 +16,9 @@
# limitations under the License.
#
-require 'chef/event_loggers/base'
-require 'chef/platform/query_helpers'
-require 'chef/mixin/unformatter'
+require "chef/event_loggers/base"
+require "chef/platform/query_helpers"
+require "chef/mixin/unformatter"
class Chef
class Log
@@ -36,14 +36,14 @@ class Chef
FATAL_EVENT_ID = 10104
# Since we must install the event logger, this is not really configurable
- SOURCE = 'Chef'
+ SOURCE = "Chef"
include Chef::Mixin::Unformatter
attr_accessor :sync, :formatter, :level
def initialize(eventlog=nil)
- @eventlog = eventlog || ::Win32::EventLog::open('Application')
+ @eventlog = eventlog || ::Win32::EventLog::open("Application")
end
def close