Skip to content

Instantly share code, notes, and snippets.

@jelder
Created July 25, 2012 15:27
Show Gist options
  • Save jelder/3176777 to your computer and use it in GitHub Desktop.
Save jelder/3176777 to your computer and use it in GitHub Desktop.
Chef logs: threat or menace?
[2012-07-25T15:22:50+00:00] INFO: Processing log[my message] action write (example::default line 5)
[2012-07-25T15:22:50+00:00] INFO: my message
# Chef's logging mechanism is laughably verbose. The most trivial message will
# be logged twice, and the most common need, to see only the changes made to
# a system, is impossible.
log "my message"
@adamhjk
Copy link

adamhjk commented Jul 25, 2012

Also, you can turn off the "Processing" lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment