Created
June 10, 2021 10:49
-
-
Save palawer/5fc7b45634310c4e6ef01a4046c01f53 to your computer and use it in GitHub Desktop.
logrotate
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
| vi /etc/logrotate.d/celery | |
| /var/log/celery/*.log { | |
| size=8192k | |
| missingok | |
| notifempty | |
| copytruncate | |
| rotate 10 | |
| compress | |
| delaycompress | |
| } | |
| logrotate /etc/logrotate.d/celery |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment