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 "Sergey Chernov (JIRA)" <ji...@apache.org> on 2016/08/29 19:35:20 UTC

[jira] [Closed] (LOG4J2-1554) org.apache.logging.log4j.core.filter.DynamicThresholdFilter doesn't override all 'filter' methods of org.apache.logging.log4j.core.filter.AbstractFilter

     [ https://issues.apache.org/jira/browse/LOG4J2-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Chernov closed LOG4J2-1554.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.7

LOG4J2-1511 is exactly duplicate of the current issue, so closing. 

> org.apache.logging.log4j.core.filter.DynamicThresholdFilter doesn't override all 'filter' methods of org.apache.logging.log4j.core.filter.AbstractFilter
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1554
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1554
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 2.6.2
>         Environment: Development
>            Reporter: Sergey Chernov
>             Fix For: 2.7
>
>
> We have found that filtering doesn't work with DynamicThresholdFilter when we are using methods like logger.trace(pattern, val); 
> We have found that DynamicThresholdFilter overrides only few 'filter' methods of AbstractFilter what causes returning Result.NEUTRAL on them, so filtering doesn't work.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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