summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/chef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/chef.rb')
-rw-r--r--lib/ohai/plugins/chef.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/chef.rb b/lib/ohai/plugins/chef.rb
index fe8b49e6..e89a9a1f 100644
--- a/lib/ohai/plugins/chef.rb
+++ b/lib/ohai/plugins/chef.rb
@@ -23,7 +23,7 @@ Ohai.plugin(:Chef) do
begin
require "chef/version"
rescue Gem::LoadError
- Ohai::Log.debug("Plugin Chef: Unable to load the chef gem to determine the version")
+ logger.trace("Plugin Chef: Unable to load the chef gem to determine the version")
# this catches when you've done a major version bump of ohai, but
# your chef gem is incompatible, so we can't load it in the same VM
# (affects mostly internal testing)