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

from with pattern in SMTPAppender

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      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

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

              Dates

              • Created:
                Updated: