summaryrefslogtreecommitdiff
path: root/lib/chef/provider/log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/log.rb')
-rw-r--r--lib/chef/provider/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/log.rb b/lib/chef/provider/log.rb
index 214f284fbb..8d15883ff6 100644
--- a/lib/chef/provider/log.rb
+++ b/lib/chef/provider/log.rb
@@ -34,7 +34,7 @@ class Chef
#
# @return [true] Always returns true
def action_write
- Chef::Log.send(new_resource.level, new_resource.message)
+ logger.send(new_resource.level, new_resource.message)
new_resource.updated_by_last_action(true) if Chef::Config[:count_log_resource_updates]
end
end