Skip to content

Instantly share code, notes, and snippets.

@phunehehe phunehehe/logrotate.conf
Last active Dec 20, 2015

Embed
What would you like to do?
A nice starting point for a logrotate config file
/path/to/*.log {
size 10M
rotate 10
create
compress
delaycompress
dateext
dateformat -%Y%m%d-%s
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.