On 18/04/04 17:41, Philipp Schulte wrote:
LeVA wrote:
I'm trying to exclude my mailsystem's logs from the /var/log/syslog
file. I've changed this line in /etc/syslog.conf:
*.*;auth,authpriv.none -/var/log/syslog
to:
*.*;auth,authpriv.none;mail.!* -/var/log/syslog
Try "*.*;auth,authpriv.none;mail.none -/var/log/syslog"
In addition you might want to try using the following:
mail.=info -/var/log/mail/mail.info
mail.=warn -/var/log/mail/mail.warn
mail.=err -/var/log/mail/mail.err
so that you properly distinguish the priorities (I figure that was you
intention :-) ).