summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-12 19:04:34 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-12 19:04:34 +0000
commit360a40567479b8c50c5123cddf643e931c2665cc (patch)
tree60eb3e7114f7decb6397b27e68df3184b87af149
parentedfaf6e03cd0a47f964fab0b9a27888ec002d680 (diff)
downloadpuppet-360a40567479b8c50c5123cddf643e931c2665cc.tar.gz
puppet-360a40567479b8c50c5123cddf643e931c2665cc.tar.xz
puppet-360a40567479b8c50c5123cddf643e931c2665cc.zip
turning on output flushing
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1253 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/puppet/log.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/log.rb b/lib/puppet/log.rb
index 9c3c8fc5f..ea9fc8149 100644
--- a/lib/puppet/log.rb
+++ b/lib/puppet/log.rb
@@ -157,6 +157,9 @@ module Puppet
@destinations[dest] = file
when "console", :console
@destinations[:console] = :console
+
+ # Flush output immediately.
+ $stdout.sync = true
when Puppet::Server::Logger
@destinations[dest] = dest
else