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

Volkan Yazici commented on LOG4J2-3174:
---------------------------------------

[~romainmoreau], thanks so much for the contribution! I am closing the issue 
since your fix is committed to both {{release-2.x}} and {{master}}. Let me know 
if you have objections.

> 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
>             Fix For: 2.15.0
>
>
> 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