Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.2
-
None
-
None
-
windows 7
idea 2015
jdk 8u60 64bit
Description
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。