You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/10/19 21:42:00 UTC

[jira] [Closed] (LOG4J2-3174) Wrong subject on mail when it depends on the LogEvent

     [ https://issues.apache.org/jira/browse/LOG4J2-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volkan Yazici closed LOG4J2-3174.
---------------------------------

> 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)