summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-02-02 09:49:57 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-02 11:56:42 -0800
commit385a27a89336cf8adb9ba6fa28aab2d316c1aa2c (patch)
tree41aa5132744311d60c461a15bc6d23be51f8e30e
parent96e1f6d3f52e0ce6e66087ede8b65bf342154a26 (diff)
downloadchef-385a27a89336cf8adb9ba6fa28aab2d316c1aa2c.tar.gz
these messages should be debug level output
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/compliance/runner.rb4
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