[ 
https://issues.apache.org/jira/browse/LOG4J2-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751769#comment-13751769
 ] 

Remko Popma commented on LOG4J2-310:
------------------------------------

Well, you're both right. I obviously should have documented that change 
better...
I guess the best way to move forward is to make the change Olivier is 
suggesting and if that causes any issue then deal with that separately.
                
> SMTPAppender does not send mails with error or fatal level without prior info 
> event
> -----------------------------------------------------------------------------------
>
>                 Key: LOG4J2-310
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-310
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders, Filters
>    Affects Versions: 2.0-beta7
>         Environment: - Ubuntu Linux 12.04
> - java version "1.6.0_27"
> - OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-0ubuntu0.12.04.1)
> - OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
>            Reporter: Jost Waldmann
>         Attachments: log4j2-310.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to