Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

always flush all logs. fixes #4277

  • Loading branch information...
commit b3328779d0ce8e4568e7966099754eae1e5791ad 1 parent dafc3c7
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/application/bootstrap.rb
View
2  railties/lib/rails/application/bootstrap.rb
@@ -30,7 +30,7 @@ module Bootstrap
f = File.open path, 'a'
f.binmode
- f.sync = !Rails.env.production? # make sure every write flushes
+ f.sync = true # make sure every write flushes
logger = ActiveSupport::TaggedLogging.new(
ActiveSupport::BufferedLogger.new(f)
Please sign in to comment.
Something went wrong with that request. Please try again.