Jörg Bretschneider created LOG4J2-1192:
------------------------------------------

             Summary: Dynamic Subject for SMTP Appender
                 Key: LOG4J2-1192
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1192
             Project: Log4j 2
          Issue Type: New Feature
          Components: Appenders
    Affects Versions: 2.4.1
         Environment: ALL
            Reporter: Jörg Bretschneider


It is annoying to have log messages sent to users via SMTP Appender with a 
static subject, requiring recipients to open each of possibly a vast amount of 
log emails in order to find out waht went wrong.
The mechanism with the %X{<key>} pattern based on a NDC or MDC <key>, as 
developed for PatternLayout in order to insert runtime context information to 
the message, does not work with log4j (neither 1.2 nor 2.x) properly. (See 
http://stackoverflow.com/questions/29435825/log4j2-custom-email-subject-from-map)
 as an example where others found this also.
This issue should have been fixed long ago.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to