diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-02-02 09:49:57 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-02-02 09:49:57 -0800 |
commit | 64f46f8f443f9de880763b7d004bc5835c3b7891 (patch) | |
tree | fecb83819a1d6ba095e2171595034dfcbd4412ec | |
parent | 656fca797478032e87b747cfe5a6c303d727b1f7 (diff) | |
download | chef-64f46f8f443f9de880763b7d004bc5835c3b7891.tar.gz |
these messages should be debug level output
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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 |