/var/log/ec2-api/*.log {
compress
dateext
minsize 100k
missingok
notifempty
rotate 10
size 1M
su ec2-api ec2-api
weekly
}