sdeboy 2005/01/07 22:57:48
Added: src/java/org/apache/log4j/filter AndFilter.java
Log:
Relying on Joran implicit actions to provide a filter that ANDs two nested filters.
If both filters return accept, acceptOnMatch is used to return either ACCEPT or DENY
Scott,
The filter chain paradigm is intended, as the name indicates, to chain filters. If you start nesting them, then you are building logic trees. Although both approaches are equivalent, we should not mix them. Consequently, I am going to revert this addition.
If you feel strongly about this then please let us discuss it.
Revision Changes Path
1.1 logging-log4j/src/java/org/apache/log4j/filter/AndFilter.java
Index: AndFilter.java
-- Ceki Gülcü
The complete log4j manual: http://www.qos.ch/log4j/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]