Michael Biebl wrote:
>> =====
>> :programname, contains, "NetworkManager" /var/log/NetworkManager.log
>> ~
>> :programname, contains, "wpa_supplicant" /var/log/NetworkManager.log
>> ~
>> =====

1) rsyslogd always pukes on itself if the config file doesn't parse.
    not new.

2) Its documented that selectors syntax is not a stable API / config 
file syntax, though, the maintainer should have noted it in UPDATING.
I would have hit this tomorrow myself.

http://www.rsyslog.com/doc-rsyslog_conf_filter.html
Expression-Based Filters
Expression based filters allow filtering on arbitrary complex 
expressions, which can include boolean, arithmetic and string 
operations. Expression filters will evolve into a full configuration 
scripting language. Unfortunately, their syntax will slightly change 
during that process. So if you use them now, you need to be prepared to 
change your configuration files some time later. However, we try to 
implement the scripting facility as soon as possible (also in respect to 
stage work needed). So the window of exposure is probably not too long.

-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci ([email protected]) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to