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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/08/29 17:18:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15446465#comment-15446465 ] 

Gary Gregory commented on LOG4J2-1554:
--------------------------------------

Sergey,

This sounds like the same issue as [LOG4J2-1511]. 

Can you try to build from Git master sources please?

Gary

> 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
>
> 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