This project is archived and is in readonly mode.

#803 ✓resolved
Cyril Mougel

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

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>

Attachments

Referenced by

Pages