summaryrefslogtreecommitdiff
path: root/lib/chef/application.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-03-23 13:05:13 +0000
committerThom May <thom@chef.io>2018-03-23 15:36:45 +0000
commit41eb0672da4f678231f03b1b7e14dd631f8b1e49 (patch)
treefee217a9f5ada6b89487b71576524f86d2445717 /lib/chef/application.rb
parent57f74c4eae1c8683abacf92ad5bca86ae4a35522 (diff)
downloadchef-tm/lower_debug.tar.gz
mechanical conversion of most debug log statements to tracetm/lower_debug
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r--lib/chef/application.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb
index b8acf41557..069d840813 100644
--- a/lib/chef/application.rb
+++ b/lib/chef/application.rb
@@ -315,7 +315,7 @@ class Chef
client_solo = chef_config[:solo] ? "chef-solo" : "chef-client"
$0 = "#{client_solo} worker: ppid=#{Process.ppid};start=#{Time.new.strftime("%R:%S")};"
begin
- logger.debug "Forked instance now converging"
+ logger.trace "Forked instance now converging"
@chef_client.run
rescue Exception => e
logger.error(e.to_s)
@@ -324,10 +324,10 @@ class Chef
exit 0
end
end
- logger.debug "Fork successful. Waiting for new chef pid: #{pid}"
+ logger.trace "Fork successful. Waiting for new chef pid: #{pid}"
result = Process.waitpid2(pid)
handle_child_exit(result)
- logger.debug "Forked instance successfully reaped (pid: #{pid})"
+ logger.trace "Forked instance successfully reaped (pid: #{pid})"
true
end