I have the same problem.
/var/log/vault/audit_test.log {
maxsize 1G
rotate 4
compress
delaycompress
missingok
notifempty
copytruncate
su vault_test vault_test
}
and the timer:
systemctl cat logrotate.timer
# /lib/systemd/system/logrotate.timer
...
[Timer]
OnCalendar=daily
...
The logfile fills in 1h the size of 1GB
But the timer is triggering only once a day
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2037022
Title:
logrotate systemd timer should run hourly rather than daily
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/2037022/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs