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 Douglas Kozak (JIRA)" <ji...@apache.org> on 2018/02/16 18:49:00 UTC

[jira] [Created] (LOG4J2-2252) Reusable events drop the original format string

Carter Douglas Kozak created LOG4J2-2252:
--------------------------------------------

             Summary: Reusable events drop the original format string
                 Key: LOG4J2-2252
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2252
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Carter Douglas Kozak


MutableLogEvent and RingBufferLogEvent hold references to state from original messages, but they currently exclude the value of Message.getFormat().

I would like to write a custom Layout implementation which is aware of the format string and parameters, which doesn't necessarily use the formatted message value.



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