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

SMTPAppender does not send mails with error or fatal level without prior info event

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-beta7
    • 2.0-beta9
    • Appenders, Filters
    • None

    Description

      When using an SMTPAppender a mail is only delivered on a fatal event if there occured an info event before.
      Prior fatal events are ignored by SMTPAppender - other Appenders log them.

      A more detailed explanation/discussion including an example program can be found at:
      http://stackoverflow.com/questions/17657983/log4j2-smtpappender-does-not-send-mails-with-error-or-fatal-level

      Attachments

        1. log4j2-310.patch
          3 kB
          Olivier Lemasle

        Activity

          People

            rpopma Remko Popma
            jwaldmann Jost Waldmann
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: