/var/log/ufw.log { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate [ -x /usr/lib/rsyslog/rsyslog-rotate ] && /usr/lib/rsyslog/rsyslog-rotate || true endscript }