Skip to content

Instantly share code, notes, and snippets.

@ipedrazas
Created July 14, 2015 09:50
Show Gist options
  • Save ipedrazas/fabb17dba5e6f72f6ffd to your computer and use it in GitHub Desktop.
Save ipedrazas/fabb17dba5e6f72f6ffd to your computer and use it in GitHub Desktop.
awslogs logrotate conf
/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