Skip to content

Instantly share code, notes, and snippets.

@waynegraham
Created April 5, 2010 14:19
Show Gist options
  • Save waynegraham/356385 to your computer and use it in GitHub Desktop.
Save waynegraham/356385 to your computer and use it in GitHub Desktop.
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)
@waynegraham
Copy link
Author

place in config/environments/[ENV].rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment