Created
July 14, 2015 09:50
-
-
Save ipedrazas/fabb17dba5e6f72f6ffd to your computer and use it in GitHub Desktop.
awslogs logrotate conf
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/log/awslogs.log { | |
daily | |
missingok | |
notifempty | |
size 50M | |
create 0600 root root | |
delaycompress | |
compress | |
rotate 4 | |
postrotate | |
/etc/init.d/awslogs restart > /dev/null | |
endscript | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment