提交 55cc16f5 编写于 作者: A Aaron Patterson

always flush all logs. fixes #4277

上级 d3f0f925
......@@ -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::Logger.new(f)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册