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:[EMAIL PROTECTED] Sent: Mon 4/4/2005 7:44 AM To: [email protected] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
