Carl Lerche wrote:
> You can do something like this in environment.rb
>
> config.logger =
> Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 50, 4194304)
Or use a custom script for well established logrotate. For once this is
already used to rotate other logs in the system, and will work correctly
unlike the above snippet prone to failure if multiple ruby processes try
to rotate at the same time.
--
Company - http://primalgrasp.com
Thoughts - http://deezsombor.blogspot.com
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users