summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/synchronizer.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/cookbook/synchronizer.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/cookbook/synchronizer.rb')
-rw-r--r--lib/chef/cookbook/synchronizer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/cookbook/synchronizer.rb b/lib/chef/cookbook/synchronizer.rb
index 991e418f99..6df39fece3 100644
--- a/lib/chef/cookbook/synchronizer.rb
+++ b/lib/chef/cookbook/synchronizer.rb
@@ -148,7 +148,7 @@ class Chef
# true:: Always returns true
def sync_cookbooks
Chef::Log.info("Loading cookbooks [#{cookbooks.map { |ckbk| ckbk.name + '@' + ckbk.version }.join(', ')}]")
- Chef::Log.debug("Cookbooks detail: #{cookbooks.inspect}")
+ Chef::Log.trace("Cookbooks detail: #{cookbooks.inspect}")
clear_obsoleted_cookbooks
@@ -272,7 +272,7 @@ class Chef
download_file(file.manifest_record["url"], cache_filename)
@events.updated_cookbook_file(file.cookbook.name, cache_filename)
else
- Chef::Log.debug("Not storing #{cache_filename}, as the cache is up to date.")
+ Chef::Log.trace("Not storing #{cache_filename}, as the cache is up to date.")
end
# Load the file in the cache and return the full file path to the loaded file