Return to Snippet

Revision: 418
at July 12, 2006 17:00 by darthapo


Updated Code
# Rotates 5 logfiles of about a meg each
config.logger = Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 5, 1048576)

Revision: 417
at July 12, 2006 16:48 by darthapo


Initial Code
  config.logger = Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 5, 1048576)

Initial URL


Initial Description


Initial Title
Rotating Logfiles

Initial Tags
textmate, rails, ruby, log

Initial Language
Ruby