You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2005/01/08 12:27:07 UTC
Re: cvs commit: logging-log4j/src/java/org/apache/log4j/filter
AndFilter.java
At 07:57 AM 1/8/2005, you wrote:
>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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org