[ 
https://issues.apache.org/jira/browse/LOG4J2-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377950#comment-16377950
 ] 

ASF subversion and git services commented on LOG4J2-2252:
---------------------------------------------------------

Commit 5b5bd912043222b1b0c94683bcba98eede54c97c in logging-log4j2's branch 
refs/heads/master from rpopma
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=5b5bd91 ]

LOG4J2-2252 (change log) Reusable LogEvents now pass the original format string 
to downstream components like layouts and filters.

Closes #148

(cherry picked from commit e4d9b0d)


> 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
>            Assignee: Remko Popma
>            Priority: Major
>
> 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)

Reply via email to