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

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

Commit 407bd3d88928490caaf9887972c709714c240cba in logging-log4j2's branch 
refs/heads/master from Volkan Yazıcı
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=407bd3d ]

LOG4J2-3174 Fix handling of LogEvent-dependent subjects in SmtpManager. (#589)

Co-authored-by: Romain Moreau <[email protected]>


> Wrong subject on mail when it depends on the LogEvent
> -----------------------------------------------------
>
>                 Key: LOG4J2-3174
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3174
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.14.1
>            Reporter: Romain Moreau
>            Assignee: Volkan Yazici
>            Priority: Major
>
> SmtpManager doesn't work as expected ; when the subject is a pattern that 
> depends on the LogEvent (e.g. %m), the subject stay the same for all the 
> subsequent events because the subject is set once before *the first* mail is 
> sent.
> In the pull request that I will submit on GitHub, the subject will be set on 
> the message before *each* mail is sent.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to