On Oct 20, 2011, at 2:58 AM, Rainer Gerhards wrote:

>> -----
>> :pri-text, !isequal, "local0.err" ~
>> *.* /var/log/local0.err.log
>> -----
> 
> Anybody with suggestions?

I'm all for fixing it so the code only emitted "%s", but that's me. :)

> As a side-note, using
> 
> local0.err /var/log/local0.err.log


Oh, I understand. Above was basically a vast simplification of what was in my 
rules just to illustrate the point, and I could have even written it as:

:pri-text, isequal, "local0.err" /var/log/local0.err.log

for purposes of illustrating the bug as I found it. You are quite correct, 
however, that it's simply a more complicated (filter v. selector) way of doing:

local0.err /var/log/local0.err.log

To be perfectly honest, that set of rules has since been scrapped for a cleaner 
single if-statement filter at the end of a ruleset with it's own disk-backed 
queues.

Gregory

-- 
Gregory K. Ruiz-Ade <[email protected]>
OpenPGP Key ID: EAF4844B  keyserver: pgpkeys.mit.edu



_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to