opscode/chef — pull request #493 by danielsdeleo (2012-11-20 21:34:44+00:00)
Title: Default to 'doc' Output Formatter When STDOUT is a Console

Implements the following logic:

* When STDOUT is a console, default log level is warn, and "doc" output formatter is used
* When STDOUT is not a console, default log level is info, and "null" (error only) output formatter is used
* The above can be changed with `--force-formatter` and `--force-logger` options
* Multiple output formatters can be configured. In the config file, extra formatters can be configured to point at file output (e.g., for XML output for Jenkins)

----
Other relevant changes:
* default log_level is now `:auto` which triggers the automatic log_level selection as described above
* chef-shell changes to support `:auto` log level; Functional regression tests added for chef-shell.
* Color is on by default.