[syslog-ng] Facility Filter Range

David Hauck davidh at netacquire.com
Thu May 29 19:58:38 CEST 2014


Hi,

I thought I must have just messed up some syntax here, but nothing I do seems to work. The issue is with my attempts to specify filter facility function *ranges* - here's the error message (from "syslog-ng -s"):

"Error parsing filter expression, syntax error, unexpected LL_DOTDOT, expecting ')' in /etc/syslog-ng.conf at line 69, column 35:

filter f_namain { facility(local0 .. local7) and program(namain); };

..."

Filter function specifications like "facility(kern, authpriv, cron)" and "level(warn .. emerg)" appear to work fine.

Am I doing something obviously wrong?

Thanks,
-David

PS: This is with version 3.5.4.1.


More information about the syslog-ng mailing list