[logback-dev] [JIRA] Updated: (LBCLASSIC-323) SMTPAppender does not send messages
Alex Glass (JIRA)
noreply-jira at qos.ch
Thu Mar 8 07:09:27 CET 2012
[ http://jira.qos.ch/browse/LBCLASSIC-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Glass updated LBCLASSIC-323:
I have just tested this with logback 1.0.1.
If you run the junit test method smtpWithPause test, the mail is sent properly. If you run the smtpTest junit test method, the application exits before the mail is sent. I consider this a bug especially in the case where the last thing done is to log a fatal error via email and terminate via System.exit.
> SMTPAppender does not send messages
> Key: LBCLASSIC-323
> URL: http://jira.qos.ch/browse/LBCLASSIC-323
> Project: logback-classic
> Issue Type: Bug
> Components: appender
> Affects Versions: 1.0.0
> Environment: JDK 1.5
> FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Apr 15 17:37:45 CEST 2008 amd64
> Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
> Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode)
> Reporter: Lutz Huehnken
> Assignee: Ceki Gulcu
> Attachments: logback-smtp-copy.xml, pom.xml, SmtpTest.java
> After upgrading from 0.9.30 to 1.0.0, the ch.qos.logback.classic.net.SMTPAppender seizes to work. It just does not send any messages anymore.
> This behaviour has apparently been observed by others as well and is also described in this thread:
> It resumes working when - while making no other changes - logback is downgraded to version 0.9.30
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev