ppkarwasz commented on code in PR #3171: URL: https://github.com/apache/logging-log4j2/pull/3171#discussion_r1828229420
########## log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java: ########## @@ -355,13 +353,6 @@ private void initTranslator( ); } - private void initTranslatorThreadValues(final RingBufferLogEventTranslator translator) { - // constant check should be optimized out when using default (CACHED) - if (THREAD_NAME_CACHING_STRATEGY == ThreadNameCachingStrategy.UNCACHED) { - translator.updateThreadValues(); - } - } Review Comment: Instances of `RingBufferLogEventTranslator` are always used on the same thread that created them. -- 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: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org