Rotating your Loggers in Rails
Posted by Chad Humphries about 1 year ago
# Rotate the log at 10 megabyte, keeping the last 10
RAILS_DEFAULT_LOGGER = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}.log", 10, 10000000)
Language Ruby / Tagged with rails, logging