You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Pooja Pandey (Jira)" <ji...@apache.org> on 2022/03/30 12:27:00 UTC
[jira] [Created] (LOG4J2-3455) Log4j 1.x 2.17.2 bridge - Thread specific Log Level Threshold doesn't work
Pooja Pandey created LOG4J2-3455:
------------------------------------
Summary: Log4j 1.x 2.17.2 bridge - Thread specific Log Level Threshold doesn't work
Key: LOG4J2-3455
URL: https://issues.apache.org/jira/browse/LOG4J2-3455
Project: Log4j 2
Issue Type: Bug
Affects Versions: 2.17.2
Reporter: Pooja Pandey
Attachments: CustomLogger.java, CustomLoggerFactory.java, CustomMultiProcessRollingAppender.java, ThreadLevelLogThresholdTest.java, customlog.properties
With bridge 2.17.2/2.17/3-SNAPSHOT, thread specific log level threshold doesn't work which used to work earlier with log4j1.x. We had achieved this feature by overriding getEffectiveLevel(), but now this doesn't work anymore with log4j1.x bridge since the method getEffectiveLevel() is not getting invoked to set effective level. (Will add more details in a separate ticket)
For reference, Java class files for Custom Logger, Custom Multiprocess Rolling Appender and Test program are attached along with cutom log4j properties file.[^CustomLogger.java][^customlog.properties][^ThreadLevelLogThresholdTest.java]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)