[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



Oh and there's more which IMO can be improved.

If people take the currently named pattern:
- /var/log/mail.{info,warn,err,log}*
- /var/log/lpr.log*
- /var/log/{messages,debug,daemon}*

the may accidentally delete quite some other files. e.g. anything that
starts with debug.

Also, daemon is actually daemon.log .


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 like
/var/log/debug.myproject.log



Cheers,
Chris.


Reply to: