Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use realtime logging instead of log() resource

  • Loading branch information...
commit cf72b0a0e6fffe8aba476ff30312085c2ecd2dce 1 parent e98bbfb
Julien Vehent authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
4 recipes/default.rb
@@ -24,9 +24,9 @@ class Chef::Recipe
end
node['afw']['rules'].each do |name,params|
- log("AFW: processing rule '#{name}'")
+ Chef::Log.info("AFW: processing rule '#{name}'")
if process_rule(node, name, params)
- log("AFW: finished processing of rule '#{name}'")
+ Chef::Log.info("AFW: finished processing of rule '#{name}'")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.