Hi,

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 log.info? etc to prove the log level is set ok.
The same methods do write to the log ok if called from the
controller.

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

Tonypm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to