Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-241

from with pattern in SMTPAppender

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • logback-core
    • None

    Description

      It would be useful to put a pattern in the from address of the SMTPAppender.

      For example, if you have, like me, a multi-user login and you want to know the complete name of the person logged in, you need to wait after the login to fill a MDC property with it. I could also put the right user email in the field after login.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            pcharette Pierre-Luc Charette
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: