mail should not log to /var/log/syslog by default

Bug #581360 reported by Patrick Goetz
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: rsyslog

Particularly on servers, email should not be logged to /var/log/syslog by default, as this clogs up syslog with tons of stuff that is already being logged to /var/log/mail.log, /var/log/mail.err, /var/log/mail.info, and /var/log/mail.warn by default.

Suggested change in the default /etc/rsyslog.d/50-default.conf:

 - *.*;auth,authpriv.none -/var/log/syslog

 + *.*;auth,authpriv,mail.none -/var/log/syslog

Revision history for this message
Gartral (gareth7yo-gmail) wrote :

This is a rather huge hole in ubuntu.. it also affect me too as my WS has mail setup (but im hitting the 459730 bug. meaning my logs are all EMPTY) but... this still need fixed desperately

Kenyon Ralph (kralph)
description: updated
Revision history for this message
Kenyon Ralph (kralph) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rsyslog (Ubuntu):
status: New → Confirmed
Revision history for this message
Haw Loeung (hloeung) wrote :

kern too. There's already this:

| kern.* -/var/log/kern.log

So:

| *.*;auth,authpriv.none -/var/log/syslog

Should exclude both mail and kern (duplicates):

| *.*;auth,authpriv,kern,mail.none -/var/log/syslog

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.