summaryrefslogtreecommitdiff
path: root/lib/chef/application.rb
diff options
context:
space:
mode:
authorNikhil Benesch <nikhil.benesch@gmail.com>2014-01-13 01:52:14 -0500
committerdanielsdeleo <dan@opscode.com>2014-01-20 16:58:41 -0800
commitb7d801cae217216b74df0bcfcb04518e15319a9c (patch)
tree218b73ba3b3c0bb1bf41322ec193c82c6c4b5941 /lib/chef/application.rb
parent6a4b9a7849f4c60fdd2b016b288e01f2a6fd03f2 (diff)
downloadchef-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.rb1
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