[CentOS] rsyslog.conf

Sat Jul 25 16:22:25 UTC 2015
Jonathan Billings <billings at negate.org>

On Jul 24, 2015, at 2:30 PM, m.roth at 5-cent.us wrote:
> Ok, this is frustrating. May I take it, then, that no one has written the
> conditional filters described in the rsyslog manual?

We’ve had this in our RHEL6 and now our RHEL7 rsyslog.conf:

# Ignore OpenAFS errors
:msg, contains, "byte-range lock/unlock ignored"		~
:msg, contains, "byte-range locks only enforced for processes on this machine"		~

I’m seeing warnings in the logs that this is an old syntax on RHEL7, but it still works.

--
Jonathan Billings <billings at negate.org>