diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-01 14:38:31 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-05 22:35:53 -0700 |
commit | b74d7a53addf42a2be56b262cb1207ffedf48f78 (patch) | |
tree | fc513eaa3b4988ca38892e98e752d9aef2726965 /lib/chef/client.rb | |
parent | 0537474a7c576011b12149725f65da617b3e1ef0 (diff) | |
download | chef-b74d7a53addf42a2be56b262cb1207ffedf48f78.tar.gz |
CHEF-13: remove magic from the logger/formatter settings
closes #2514
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb index b219fdfdd6..c3eaa02bed 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -372,7 +372,7 @@ class Chef # @api private def default_formatter - if (STDOUT.tty? && !Chef::Config[:force_logger]) || Chef::Config[:force_formatter] + if !Chef::Config[:force_logger] || Chef::Config[:force_formatter] [:doc] else [:null] |