diff options
author | Nikhil Benesch <nikhil.benesch@gmail.com> | 2014-01-13 01:52:14 -0500 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2014-01-20 16:58:41 -0800 |
commit | b7d801cae217216b74df0bcfcb04518e15319a9c (patch) | |
tree | 218b73ba3b3c0bb1bf41322ec193c82c6c4b5941 /lib/chef/application.rb | |
parent | 6a4b9a7849f4c60fdd2b016b288e01f2a6fd03f2 (diff) | |
download | chef-b7d801cae217216b74df0bcfcb04518e15319a9c.tar.gz |
CHEF-4725: Disable buffering on all log streams
Centralize handling of log buffering to ensure it's always disabled.
Previously, an unconfigured 'log_location' setting would erroneously
fall back to a default STDOUT stream with output buffering enabled.
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index 4e6b29cec6..eba24ea17c 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -125,7 +125,6 @@ class Chef::Application def configure_stdout_logger stdout_logger = MonoLogger.new(STDOUT) - STDOUT.sync = true stdout_logger.formatter = Chef::Log.logger.formatter Chef::Log.loggers << stdout_logger end |