Am 21.05.21 um 05:47 schrieb Uwe Niemeyer:
I adjusted the settings for /etc/logrotate.d/rsyslog
-------------------------------------------
/var/log/syslog
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
         rotate 4
         daily
         missingok
         notifempty
         compress
         delaycompress
         sharedscripts
         postrotate
                 /usr/lib/rsyslog/rsyslog-rotate
         endscript
}

based on

https://salsa.debian.org/debian/rsyslog/-/commit/651236c2319eb0ca13fd1d376eaf239a6dcd5c49 <https://salsa.debian.org/debian/rsyslog/-/commit/651236c2319eb0ca13fd1d376eaf239a6dcd5c49>
an with "daily".

The problems outlined are still there :


I guess the relevant part is this:

-rw-r-----  1 root     adm                 606 Mai 21 04:30 messages
-rw-r-----  1 root     adm                4404 Mai 21 04:00 messages.1


-rw-r-----  1 root     adm                 606 Mai 21 04:30 syslog
-rw-r-----  1 root     adm              131397 Mai 21 04:55 syslog.1

syslog.1 is newer then syslog. So some log messages ended up in syslog, but rsyslog then continued to write to syslog.1 ? If you were referring to that problem, can you share what has been written to syslog and syslog.1?

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to