/var/log/postgresql17-pgagent.log {
    missingok
    compress
    notifempty
    sharedscripts
    create 0640 pgagent pgagent
    nodateext
    weekly
    rotate 5
}
