This project is archived and is in readonly mode.
The logger doesn't flush in production with script/runner
Reported by Cyril Mougel | August 11th, 2008 @ 10:11 PM | in 2.x
In production mode, the RAILS_LOGGER_DEFAULT has auto_flushing to false. So if we don't flush the logger in your script/runner, the RAILS_LOGGER_DEFAULT doesn't flush him content.
So I made a patch that add an ensure in finish of script/runner that flush the default logger.
Comments and changes to this ticket
-
Repository November 22nd, 2008 @ 07:33 PM
- State changed from new to resolved
- Tag changed from logger, production, runner to bug, logger, production, runner
(from [2144c0f8ff9bdd3dceb085ddb1c4b8711ef329a4]) Add flush by ensure in script/runner because no flush in production mode [#803 state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
-
Jeff Kreeftmeijer November 7th, 2010 @ 04:54 PM
- Tag cleared.
- Importance changed from to Low
Automatic cleanup of spam.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 803 The logger doesn't flush in production with script/runner (from [2144c0f8ff9bdd3dceb085ddb1c4b8711ef329a4]) Add flu...