Skip to content

Instantly share code, notes, and snippets.

@hadl
Created January 21, 2014 10:07
Show Gist options
  • Save hadl/8537461 to your computer and use it in GitHub Desktop.
Save hadl/8537461 to your computer and use it in GitHub Desktop.
Default Logrotation
# place in /etc/logrotate.d/
{DIR}*.log {
daily
rotate 7
compress
delaycompress
notifempty
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment