Forum: Ruby on Rails logger for script/runner or console in production mode

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Db7238007950074e9e73b76a81910406?d=identicon&s=25 tonypm (Guest)
on 2009-03-30 18:45
(Received via mailing list)

When running in development mode, I have some model methods that I
call via cron + script/runner.  These were nicely writing information
to the log file as a record of activity.

However, in production mode, when calling model methods from script/
runner or script/console, nothing is added to the log file.
Regardless of the log level settings.  I have tried many tests of log
level, and even used etc to prove the log level is set ok.
The same methods do write to the log ok if called from the

I haven't found any other post on this question so I am thinking I
must be missing some obvious point here.

This topic is locked and can not be replied to.