From 72e0cbd1c0cff9632c080bb645e7514e67610733 Mon Sep 17 00:00:00 2001 From: Anandaraju Coimbatore Sivaraju Date: Fri, 17 Jul 2020 12:40:54 -0700 Subject: [PATCH] [Agent 1.1.2] Change windows unzip exit status logging from debug to error Why is this change needed? --------- Prior to this change, windows unzip util had debug log level instead of error How does it address the issue? --------- This change will log the exit status as error instead of debug --- lib/instance_agent/platform/windows_util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/instance_agent/platform/windows_util.rb b/lib/instance_agent/platform/windows_util.rb index baa1a899..6238b9a4 100644 --- a/lib/instance_agent/platform/windows_util.rb +++ b/lib/instance_agent/platform/windows_util.rb @@ -100,7 +100,7 @@ def self.execute_zip_command(cmd) if exit_status != 0 msg = "Error extracting zip archive: #{exit_status}" - log(:debug, msg) + log(:error, msg) raise msg end end