[ https://issues.apache.org/jira/browse/LOG4J2-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14521032#comment-14521032 ]
Maytee Chinavanichkit commented on LOG4J2-997: ---------------------------------------------- I agree with you, {{addFilter()}} and {{List<Filter> getFilters()}} should come as a pair. However the root of the problem is actually in the [Filterable.class|https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/filter/Filterable.html] which I am reluctant to change as it will lead to breaking changes. > removeFilter() in AbstractFilterable does not remove filter > ----------------------------------------------------------- > > Key: LOG4J2-997 > URL: https://issues.apache.org/jira/browse/LOG4J2-997 > Project: Log4j 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.2 > Reporter: Maytee Chinavanichkit > > Add two filters to a class that implements AbstractFilterable. Try to remove > one of the two filters; nothing is removed. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org