You can do something like this in environment.rb
config.logger =
Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 50, 4194304)
Check the docs for Logger for more information.
Hi Carl,
I will definately investigate that. It seems simple enough, but at the same time it stirs the suspicion that all my mongrels (or really, the railses in the mongrels) are writing to the same file with no locking. I will have to read me some source code.
Thanks for the tip!
/David
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
