Class | Chef::Application |
In: |
lib/chef/application.rb
|
Parent: | Object |
Initialize and configure the logger. If the configured log location is not STDOUT, but stdout is a TTY and we‘re not daemonizing, we set up a secondary logger with output to stdout. This way, we magically do the right thing when the user has configured logging to a file but they‘re running chef in the shell to debug something.