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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment