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:24:00 UTC

[jira] [Assigned] (LOG4J2-3141) Avoid overhead in *Manager.setEndOfBatch(boolean)

     [ https://issues.apache.org/jira/browse/LOG4J2-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carter Kozak reassigned LOG4J2-3141:
------------------------------------

    Assignee: Carter Kozak

> 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
>            Assignee: Carter Kozak
>            Priority: Major
>             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)