logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: filtering mechenism in log4j
Date Mon, 04 Apr 2005 14:50:55 GMT
log4j 1.3 (currently alpha) provides AndFilter:

http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/filter/AndFilter.java?rev=1.3&view=markup


-----Original Message-----
From:	Sumit Kumar [mailto:sumitk@novell.com]
Sent:	Mon 4/4/2005 7:44 AM
To:	log4j-dev@jakarta.apache.org
Cc:	
Subject:	filtering mechenism in log4j
All,

I was looking for the filtering in log4j. Currently the first
NON-NEUTRAL filter in the list is the decider filter.
I want to use the filters in and'ed and or'ed manner. So if filters are
and'ed then massage will be logged if all filter returns ACCEPT (or if
some of them returns NEUTRAL and rest returns ACCEPT).

Is there a way to do it ?

Would appreciate any help ..
Thanks in Advance.
Sumit


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





Mime
View raw message