diff options
author | Thom May <thom@chef.io> | 2018-03-23 13:05:13 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-03-23 15:36:45 +0000 |
commit | 41eb0672da4f678231f03b1b7e14dd631f8b1e49 (patch) | |
tree | fee217a9f5ada6b89487b71576524f86d2445717 /lib/chef/application.rb | |
parent | 57f74c4eae1c8683abacf92ad5bca86ae4a35522 (diff) | |
download | chef-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.rb | 6 |
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 |