logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: Chainsaw V2 - cannot filter on MSG with NOT operator
Date Fri, 13 Apr 2007 13:45:51 GMT
Currently, you need spaces around parens and operators..

! ( msg ~= 'invalid user' )

Scott Deboy
111 SW Columbia Street Ste. 950
Portland, OR  97201

Telephone:      503.224.7496
Cell:           503.997.1367
Fax:            503.222.0185



-----Original Message-----
From: Urs Eichmann [mailto:urs.eichmann@crealogix.com]
Sent: Fri 4/13/2007 6:05 AM
To: log4j-user@logging.apache.org
Subject: Chainsaw V2 - cannot filter on MSG with NOT operator

I want to see all messages NOT containing the words 'invalid user'. I try to
insert an expression in the field "refine focus on". I tried the following
(!(msg LIKE 'invalid user*'))
(!(msg ~= 'invalid user'))
!(msg ~= 'invalid user')
msg ! ~= 'invalid user'

and so on... but always get the message "invalid expression..." showing in a

What is the correct syntax for a filter like this?

Thanks for any help,

View this message in context: http://www.nabble.com/Chainsaw-V2---cannot-filter-on-MSG-with-NOT-operator-tf3571494.html#a9978575
Sent from the Log4j - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message