Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#35571 - [rsyslog] add configuration for all created log files
Attached to Project:
Community Packages
Opened by Daniel Albers (al) - Friday, 31 May 2013, 14:55 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 07 June 2013, 17:29 GMT
Opened by Daniel Albers (al) - Friday, 31 May 2013, 14:55 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 07 June 2013, 17:29 GMT
|
DetailsThe package comes with both an rsyslog and a logrotate configuration file, but rsyslog.logrotate actually only contains a single log file defined by rsyslog.conf:
$ diff -u <(egrep -ho '[/a-z]+/?log/[.a-z]+' rsyslog.conf | sort | uniq) <(egrep -ho '[/a-z]+/?log/[a-z]+(\.log)?' rsyslog.logrotate | sort | uniq) | grep ^\ | cut -c2- /var/log/messages Some others that are included for rotation aren't created by rsyslog: $ diff -u <(egrep -ho '[/a-z]+/?log/[.a-z]+' rsyslog.conf | sort | uniq) <(egrep -ho '[/a-z]+/?log/[a-z]+(\.log)?' rsyslog.logrotate | sort | uniq) | grep ^+/ | cut -c2- | xargs /var/log/boot.log /var/log/cron /var/log/maillog /var/log/secure /var/log/spooler And vice versa: $ diff -u <(egrep -ho '[/a-z]+/?log/[.a-z]+' rsyslog.conf | sort | uniq) <(egrep -ho '[/a-z]+/?log/[a-z]+(\.log)?' rsyslog.logrotate | sort | uniq) | grep ^-/ | cut -c2- | xargs /var/log/auth.log /var/log/cron.log /var/log/daemon.log /var/log/debug /var/log/kern.log /var/log/lpr.log /var/log/mail.err /var/log/mail.info /var/log/mail.log /var/log/mail.warn /var/log/news /var/log/syslog /var/log/user.log Please adapt rsyslog.logrotate to include all log files created by the default rsyslog.conf and remove those that aren't. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Friday, 07 June 2013, 17:29 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied
Friday, 07 June 2013, 17:29 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied
Comment by Sergej Pupykin (sergej) -
Monday, 03 June 2013, 16:29 GMT
attachment is empty
Comment by Daniel Albers (al) -
Monday, 03 June 2013, 16:32 GMT
Sorry, my bad. But it was rather trivial anyway.
rotate-all-logs-from-default-...
rotate-all-logs-from-default-...
(0.5 KiB)