Created
April 5, 2010 14:19
-
-
Save waynegraham/356385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.active_record.colorize_logging = false | |
log_pipe = IO.popen("/usr/sbin/rotatelogs #{RAILS_ROOT}/log/quandu_staging_log.%Y%m%d 86400", 'a') | |
config.logger = Logger.new(log_pipe) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
place in config/environments/[ENV].rb