提交 632995c3 编写于 作者: A Aaron Patterson

Merge pull request #4279 from lest/fix-log

do not rewrite log during application bootstrap
......@@ -28,7 +28,7 @@ module Bootstrap
FileUtils.mkdir_p File.dirname path
end
f = File.open path, 'w'
f = File.open path, 'a'
f.binmode
f.sync = !Rails.env.production? # make sure every write flushes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册