summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/event_loggers/windows_eventlog.rb2
-rw-r--r--lib/chef/log/winevt.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/event_loggers/windows_eventlog.rb b/lib/chef/event_loggers/windows_eventlog.rb
index 3ace9e6f44..eecf0f033b 100644
--- a/lib/chef/event_loggers/windows_eventlog.rb
+++ b/lib/chef/event_loggers/windows_eventlog.rb
@@ -36,7 +36,7 @@ class Chef
LOG_CATEGORY_ID = 11001
# Since we must install the event logger, this is not really configurable
- SOURCE = "#{Chef::Dist::PRODUCT}".freeze
+ SOURCE = Chef::Dist::SHORT.freeze
def self.available?
ChefUtils.windows?
diff --git a/lib/chef/log/winevt.rb b/lib/chef/log/winevt.rb
index dcc13a77e4..be72f94dba 100644
--- a/lib/chef/log/winevt.rb
+++ b/lib/chef/log/winevt.rb
@@ -37,7 +37,7 @@ class Chef
FATAL_EVENT_ID = 10104
# Since we must install the event logger, this is not really configurable
- SOURCE = Chef::Dist::PRODUCT.freeze
+ SOURCE = Chef::Dist::SHORT.freeze
include Chef::Mixin::Unformatter