I'm adding some custom logging on local0 in syslog.
Writing these messages to a specific log is easy, in my syslog.conf I have
local0.* -/var/log/my.log
But how can I exclude local0 from all other logs? In my current setup, local0 messages also show up in /var/log/syslog since it's specified as
*.*;auth,authpriv.none -/var/log/syslog
Do I need to go through all the other default logs and add local0.none, or is there some kind of global exclude I can use?