[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1036658: release-notes: 5.1.8. rsyslog creates fewer log files - mail.log is not dropped



Am 24.05.23 um 14:52 schrieb Christoph Anton Mitterer:
On Wed, 2023-05-24 at 09:47 +0200, Michael Biebl wrote:
The following would be at least a bit more restrictive:
   /var/log/mail.{info,warn,err} /var/log/lpr.log
/var/log/{messages,debug,daemon.log}
   /var/log/mail.{info,warn,err}.* /var/log/lpr.log.*
/var/log/{messages,debug,daemon.log}.*

not perfect though, cause it could still select unrelated files

It only matches compressed files though

Mine? That I don't understand... I have the ones with just the name of
the logfile itself... and then .*, which should match the non-
compressed .0, .1, etc. as any .0.xz, .1.xz, etc.?

Sorry, I meant: It (the expresssion like /var/log/lpr.log.*) only matches rotated files, but not the actual log file itself.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: