[
https://issues.apache.org/jira/browse/LOG4J2-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
thomas.zheng closed LOG4J2-1965.
--------------------------------
Resolution: Fixed
logger filter will be applied after..
> logger filter cant work
> -----------------------
>
> Key: LOG4J2-1965
> URL: https://issues.apache.org/jira/browse/LOG4J2-1965
> Project: Log4j 2
> Issue Type: Bug
> Components: Core, Documentation
> Affects Versions: 2.8.2
> Environment: windows 7
> idea 2015
> jdk 8u60 64bit
> Reporter: thomas.zheng
>
> according to the document, logger can set filters, but +filters cant work.+
> the reason is, when method
> org.apache.logging.log4j.core.Logger.PrivateConfig#filter(org.apache.logging.log4j.Level,
> org.apache.logging.log4j.Marker, java.lang.String)
> is call, +privateConfig choose filter in a wrong way+, it only choose filter
> from context , ignoring the filter from logger。
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)