Remko Popma created LOG4J2-1342:
-----------------------------------

             Summary: ReusableParameterizedMessage should preserve parameters 
when used with Async Loggers
                 Key: LOG4J2-1342
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1342
             Project: Log4j 2
          Issue Type: Bug
          Components: API
    Affects Versions: 2.6
            Reporter: Remko Popma
            Assignee: Remko Popma
             Fix For: 2.6


AsyncLogger correctly copies the contents of ReusableParameterizedMessages 
rather than the instance itself when passing the message to the background 
thread. 

However the copy in incomplete: the formatted text is copied into the 
RingbufferLogEvent but message parameters are not transferred. 

This is a problem because some layouts like CsvParameterLayout need access to 
the raw parameters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to