Setting up my own logger for Rails...

Hey Guys,

I'm running a script that accesses Rails models via script/runner. I
want to accumulate the log message in a different logfile to avoid
polluting the development/test/production.log files. I've tried both to
no avail:

ActiveRecord::Base.logger =
ActionController::Base.logger =
logger = =

In all cases, the log messages continue to appear in the
development/test/production.log file.

Any pointers would be appreciated.


you can change it through the config in environment/config.rb
try: config.logger ='logger path', Logger::DEBUG)

Thanks for the suggestion but no better luck:"( I'm running my script
through script/runner incidentally....