> > > Yes, I was using regex expressions to get .[A-Z] so any pointers to
> > > that, thanks. Does look to die in the expression after contains
> > >
> > > if $syslogfacility-text == 'local3' and not ($msg contains
> > > 'com\.company\.[A-Z]') then {
> > >         action(type="omfile" dynafile="WEBAPP")
> > > }
> 
> Interim answer: it's a problem with the rsyslog grammar. IF you remove
> the backslashes, it parses correctly.

I really need to check on how I can get better error messages... The 
grammar/lexer is OK. The syntax error is that '\.' Is indeed an undefined 
escape sequence and as such it is rejected...

Rainer
_______________________________________________
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