Re: [Rails] Flushing a log file

2012-02-01 Thread Michael Graff
It will overwrite your file. Perhaps "a" rather than "w" would append. I also don't think it's a tunable filesystem issue... --Michael On Jan 31, 2012, at 4:58 PM, Paul wrote: > Hi all, > > Since moving to Rails 3.2.1, I haven't been able to figure out how to > flush the log file in productio

[Rails] Flushing a log file

2012-01-31 Thread Paul
Hi all, Since moving to Rails 3.2.1, I haven't been able to figure out how to flush the log file in production. I found this release note (https://gist.github.com/1472145), which I don't understand: - ActiveSupport::BufferedLogger#auto_flushing is deprecated. Either set th