# Logrotate configuration for Rails <%= log_path.join("#{stage}.log") %> { hourly maxsize 5M maxage 14 rotate <%= 14 * 24 * (60 / 10) %> missingok compress compresscmd <%= `which gzip`.chomp %> delaycompress dateext dateformat -%Y%m%d-%H%M%S copytruncate olddir archived_logs }