diff options
author | Tim Smith <tsmith@chef.io> | 2021-02-02 12:07:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 12:07:39 -0800 |
commit | ff0fbe614a9a96418b5dd57b5494b068c9ea55cf (patch) | |
tree | 39ea1d9fc89025fc096e139dffa4f44e432468ff | |
parent | 75770373fa6c463e6a960ffa69c99511c13fc14c (diff) | |
parent | 385a27a89336cf8adb9ba6fa28aab2d316c1aa2c (diff) | |
download | chef-ff0fbe614a9a96418b5dd57b5494b068c9ea55cf.tar.gz |
Merge pull request #10970 from chef/log_levels
these messages should be debug level output
-rw-r--r-- | lib/chef/compliance/runner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/compliance/runner.rb b/lib/chef/compliance/runner.rb index 8ab80e11ff..871d86ea23 100644 --- a/lib/chef/compliance/runner.rb +++ b/lib/chef/compliance/runner.rb @@ -20,8 +20,8 @@ class Chef # renamed from Chef Visibility in 2017, so should capture all modern versions of the audit cookbook. audit_cookbook_present = defined?(::Reporter::ChefAutomate) - logger.info("#{self.class}##{__method__}: #{Inspec::Dist::PRODUCT_NAME} profiles? #{inspec_profiles.any?}") - logger.info("#{self.class}##{__method__}: audit cookbook? #{audit_cookbook_present}") + logger.debug("#{self.class}##{__method__}: #{Inspec::Dist::PRODUCT_NAME} profiles? #{inspec_profiles.any?}") + logger.debug("#{self.class}##{__method__}: audit cookbook? #{audit_cookbook_present}") inspec_profiles.any? && !audit_cookbook_present end |