When i configure some service with logging in local0.*, i put file to /etc/rsyslog.d/service:
But i see this (duplicate) message in /var/log/messages too. I can suppress it (in rsyslog.conf change string with /message, add local0.none), but i cannot automate it, like "yum install service" with put the file in rsyslog.d. Can i write something like
as second line of my service config? Or any option for disable duplicate messages?