On Tue, 12 Jun 2018, James Lay wrote:

Here as well, all information from file1 and file2 show up in /var/log/messages. How can I tell rsyslog to not log the additional files to the actual syslog/messages file? Thank you.

you either need to filter the messages before the line that writes to the messages file (match them and issue a stop), or you need to have the imfile inputs call a specific ruleset that only has what you want to happen to those files instead of letting them be handled by the default ruleset.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to