Skip to content

Instantly share code, notes, and snippets.

@nkwhr
Created April 3, 2014 08:21
Show Gist options
  • Save nkwhr/9950475 to your computer and use it in GitHub Desktop.
Save nkwhr/9950475 to your computer and use it in GitHub Desktop.
logrotate configuration file for Rails (or Mojolicious) applications.
/path/to/app/log/*.log {
weekly
missingok
rotate 12
dateext
compress
delaycompress
notifempty
copytruncate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment