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

Carter Kozak updated LOG4J2-2352:
---------------------------------
    Fix Version/s: 2.11.1
                   3.0.0

> Reusable event message mementos should be cached
> ------------------------------------------------
>
>                 Key: LOG4J2-2352
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2352
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>             Fix For: 3.0.0, 2.11.1
>
>
> When multiple AsyncAppenders are configured, we invoke 
> MutableLogEvent.memento (or RingBufferLogEvent.memento) for each one, 
> allocating multiple formatted strings.
> On the first invocation, we can set the event message to the new 
> MementoMessage to avoid re-allocations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to