Last active
December 20, 2015 03:09
-
-
Save phunehehe/6061558 to your computer and use it in GitHub Desktop.
A nice starting point for a logrotate config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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