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

Ralph Goers commented on LOG4J2-310:
------------------------------------

I searched the mailing lists and don't really see anything that lines up.  The 
only thing I see is LOG4J2-252 was created the day before this change was made. 
It is possible you made the change in response to that although it doesn't 
really address the problem reported there.  In addition, that fix seems wrong 
as it means that events that should be logged won't be. Just because another 
thread has logged an error and published all the buffered events doesn't mean 
the current event should be ignored. 
                
> 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