Am 06.07.21 um 11:51 schrieb Ben Wong:

2. /etc/logrotate.d/rsyslog: add "maxsize" so that log files that are
    greater than a certain size are rotated even if their time
    criteria are not due. I suggest "maxsize 1G" is reasonable for
    most people and can be adjusted for those who want more.

3a. Move /etc/cron.daily/logrotate to /etc/cron.hourly/ so that file
     sizes are checked more often. (This also fixes the "bug" where an
     hourly entry in logrotate.conf only gets rotated daily.)

This is basically a duplicate of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954069

Keep in mind that /etc/cron.daily/logrotate is not under the control of the rsyslog package.

I'm inclined to merge your bug report accordingly.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to