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/cookbook/syntax_check.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/cookbook/syntax_check.rb')
-rw-r--r-- | lib/chef/cookbook/syntax_check.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/cookbook/syntax_check.rb b/lib/chef/cookbook/syntax_check.rb index 8d0d636bd2..b94b14fe6a 100644 --- a/lib/chef/cookbook/syntax_check.rb +++ b/lib/chef/cookbook/syntax_check.rb @@ -124,7 +124,7 @@ class Chef def untested_ruby_files ruby_files.reject do |file| if validated?(file) - Chef::Log.debug("Ruby file #{file} is unchanged, skipping syntax check") + Chef::Log.trace("Ruby file #{file} is unchanged, skipping syntax check") true else false @@ -139,7 +139,7 @@ class Chef def untested_template_files template_files.reject do |file| if validated?(file) - Chef::Log.debug("Template #{file} is unchanged, skipping syntax check") + Chef::Log.trace("Template #{file} is unchanged, skipping syntax check") true else false @@ -170,12 +170,12 @@ class Chef end def validate_template(erb_file) - Chef::Log.debug("Testing template #{erb_file} for syntax errors...") + Chef::Log.trace("Testing template #{erb_file} for syntax errors...") validate_erb_file_inline(erb_file) end def validate_ruby_file(ruby_file) - Chef::Log.debug("Testing #{ruby_file} for syntax errors...") + Chef::Log.trace("Testing #{ruby_file} for syntax errors...") validate_ruby_file_inline(ruby_file) end |