Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

log to "/var/log/chef.log" instead of $stderr

Chef already logs to console, so redirecting the log to $stderr resulted
in everything appearing twice.
  • Loading branch information...
commit 8768ce30ceafc1a6b04b91298c6f3ea75375e5ff 1 parent 28d328f
Mislav Marohnić mislav authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  bin/cook
2  bin/cook
@@ -47,7 +47,7 @@ end
47 47
48 48 CONFIG = <<-RUBY
49 49 log_level :#{$DEBUG ? 'debug' : 'info'}
50   -log_location $stderr
  50 +log_location "/var/log/chef.log"
51 51 json_attribs #{json_attribs.inspect}
52 52 cookbook_path #{cookbook_path.inspect}
53 53 file_cache_path "#{root}"

0 comments on commit 8768ce3

Please sign in to comment.
Something went wrong with that request. Please try again.