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/util/diff.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/util/diff.rb')
-rw-r--r-- | lib/chef/util/diff.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/util/diff.rb b/lib/chef/util/diff.rb index 61bc2bf666..b5c85df56d 100644 --- a/lib/chef/util/diff.rb +++ b/lib/chef/util/diff.rb @@ -64,7 +64,7 @@ class Chef def use_tempfile_if_missing(file) tempfile = nil unless File.exists?(file) - Chef::Log.debug("File #{file} does not exist to diff against, using empty tempfile") + Chef::Log.trace("File #{file} does not exist to diff against, using empty tempfile") tempfile = Tempfile.new("chef-diff") file = tempfile.path end @@ -139,7 +139,7 @@ class Chef return "(new content is binary, diff output suppressed)" if is_binary?(new_file) begin - Chef::Log.debug("Running: diff -u #{old_file} #{new_file}") + Chef::Log.trace("Running: diff -u #{old_file} #{new_file}") diff_str = udiff(old_file, new_file) rescue Exception => e |