Closed PhilipMcGaw closed 1 year ago
This is default system behaviour. Could explain more? kind of messages?
In /etc/rsyslog.d/50-default.conf change line:
*.*;auth,authpriv.none -/var/log/syslog
to
*.*;auth,authpriv.none,mail.!=info -/var/log/syslog
and restart rsyslog.
Will do that :D if it works as it looks like it should it will make sys log more pleasant to read.
Sent from my iPhone
On 22 Jul 2016, at 18:32, Łukasz Szczepański notifications@github.com wrote:
In /etc/rsyslog.d/50-default.conf change line: .;auth,authpriv.none -/var/log/syslog to .;auth,authpriv.none,mail.!=info -/var/log/syslog and restart rsyslog.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
It works, I've done it on my server.
Bump for verification
Will review this in the future. Closing for now since it is server default.
Can we stop email logs ending up in the syslog, they are duplicated in the mail log which is a much better place for them (Ubuntu and Sentora)