Created
May 25, 2018 23:50
-
-
Save giseongeom/bd7d7f98061564fbb0260db9867500dd to your computer and use it in GitHub Desktop.
logrotate.d example
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
| /var/www/web/log/*.log { | |
| daily | |
| dateext | |
| dateyesterday | |
| missingok | |
| rotate 60 | |
| compress | |
| delaycompress | |
| notifempty | |
| copytruncate | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/etc/logrotate.d