summaryrefslogtreecommitdiff
path: root/lib/chef/provider/ohai.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/ohai.rb')
-rw-r--r--lib/chef/provider/ohai.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/ohai.rb b/lib/chef/provider/ohai.rb
index 42fc450271..0b65a1d28a 100644
--- a/lib/chef/provider/ohai.rb
+++ b/lib/chef/provider/ohai.rb
@@ -37,7 +37,7 @@ class Chef
# the path are picked up by ohai.
ohai.all_plugins new_resource.plugin
node.automatic_attrs.merge! ohai.data
- Chef::Log.info("#{new_resource} reloaded")
+ logger.info("#{new_resource} reloaded")
end
end
end