summaryrefslogtreecommitdiff
path: root/lib/chef/application/windows_service.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-03-23 13:05:13 +0000
committerTim Smith <tsmith@chef.io>2018-03-26 10:34:39 -0700
commit97c1dd6f1cac6d97e85d05039cad8b28596141ba (patch)
treed8a97c0f7016986a2cc264aa50ae345638ed026c /lib/chef/application/windows_service.rb
parent1b81f35e023bcdc87e410c641545e849298de5c3 (diff)
downloadchef-97c1dd6f1cac6d97e85d05039cad8b28596141ba.tar.gz
mechanical conversion of most debug log statements to trace
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/application/windows_service.rb')
-rw-r--r--lib/chef/application/windows_service.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb
index fa4b3fd27e..41dcc55d70 100644
--- a/lib/chef/application/windows_service.rb
+++ b/lib/chef/application/windows_service.rb
@@ -109,9 +109,9 @@ class Chef
# Daemon class needs to have all the signal callbacks return
# before service_main returns.
- Chef::Log.debug("Giving signal callbacks some time to exit...")
+ Chef::Log.trace("Giving signal callbacks some time to exit...")
sleep 1
- Chef::Log.debug("Exiting service...")
+ Chef::Log.trace("Exiting service...")
end
################################################################################
@@ -135,7 +135,7 @@ class Chef
run_warning_displayed = true
end
- Chef::Log.debug("Waiting for chef-client run...")
+ Chef::Log.trace("Waiting for chef-client run...")
sleep 1
end
end
@@ -200,8 +200,8 @@ class Chef
:timeout => Chef::Config[:windows_service][:watchdog_timeout],
:logger => Chef::Log
)
- Chef::Log.debug "#{result.stdout}"
- Chef::Log.debug "#{result.stderr}"
+ Chef::Log.trace "#{result.stdout}"
+ Chef::Log.trace "#{result.stderr}"
rescue Mixlib::ShellOut::CommandTimeout => e
Chef::Log.error "chef-client timed out\n(#{e})"
Chef::Log.error(<<-EOF)