summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordheerajd-msys <dheeraj.dubey@msystechnologies.com>2019-12-27 15:16:27 +0530
committerdheerajd-msys <dheeraj.dubey@msystechnologies.com>2019-12-27 15:16:27 +0530
commit19dd36852e14a1e70543f56ba117ad1ca2366f36 (patch)
tree7bfb0f182d03925cf16bd9545e45c986d653be60 /lib
parentf5f618321ff524cfe5c8cafdf3bdaca55485cd9b (diff)
downloadchef-19dd36852e14a1e70543f56ba117ad1ca2366f36.tar.gz
Fix eventlog message description format
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
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