/var/log/ssm-postgresql-queries.log {
    rotate 30
    daily
    missingok
}