Created
April 3, 2020 00:21
-
-
Save kohendrix/95f6937e3a79e9870f2a843909836854 to your computer and use it in GitHub Desktop.
logrotate template
This file contains 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_LOGFILE { | |
missingok | |
maxsize 2K | |
rotate 1 | |
dateext | |
dateformat _%Y%m%d | |
compress | |
daily | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment