Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3174

Wrong subject on mail when it depends on the LogEvent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.14.1
    • 2.15.0
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              vy Volkan Yazici
              romainmoreau Romain Moreau
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: