Permalink
Browse files

Use realtime logging instead of log() resource

  • Loading branch information...
1 parent e98bbfb commit cf72b0a0e6fffe8aba476ff30312085c2ecd2dce Julien Vehent committed Oct 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
@@ -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

0 comments on commit cf72b0a

Please sign in to comment.