Shekharrajak commented on code in PR #4435:
URL: https://github.com/apache/logging-log4j2/pull/4435#discussion_r4408391038
##########
log4j-jul/src/main/java/org/apache/logging/log4j/jul/ApiLogger.java:
##########
@@ -43,6 +43,7 @@
*/
public class ApiLogger extends Logger {
+ private static final ThreadLocal<Boolean> IS_LOGGABLE_IN_PROGRESS = new
ThreadLocal<>();
Review Comment:
etect recursive calls on the same thread while allowing other threads to log
normally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]