diff options
Diffstat (limited to 'lib/chef/resource/file/verification.rb')
-rw-r--r-- | lib/chef/resource/file/verification.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/chef/resource/file/verification.rb b/lib/chef/resource/file/verification.rb index ed6fce2e5c..578e6066a2 100644 --- a/lib/chef/resource/file/verification.rb +++ b/lib/chef/resource/file/verification.rb @@ -80,6 +80,10 @@ class Chef c end + def logger + @parent_resource.logger + end + def initialize(parent_resource, command, opts, &block) @command, @command_opts = command, opts @block = block @@ -87,7 +91,7 @@ class Chef end def verify(path, opts = {}) - Chef::Log.debug("Running verification[#{self}] on #{path}") + logger.trace("Running verification[#{self}] on #{path}") if @block verify_block(path, opts) elsif @command.is_a?(Symbol) |