You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Carter Kozak (Jira)" <ji...@apache.org> on 2021/08/23 18:21:00 UTC
[jira] [Created] (LOG4J2-3141) Avoid overhead in
*Manager.setEndOfBatch(boolean)
Carter Kozak created LOG4J2-3141:
------------------------------------
Summary: Avoid overhead in *Manager.setEndOfBatch(boolean)
Key: LOG4J2-3141
URL: https://issues.apache.org/jira/browse/LOG4J2-3141
Project: Log4j 2
Issue Type: Bug
Components: Appenders
Affects Versions: 2.14.1
Reporter: Carter Kozak
Fix For: 2.15.0
I've seen a somewhat substantial amount of overhead in RandomAccessFileManager.setEndOfBatch, which updates a threadlocal for each logevent. Given none of our code reads isEndOfBatch, I intend to deprecate the method and remove the threadlocal.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)