I am facing the exact same issue. The upgrade stopped sending emails for me
as well. For some reason, the Runnable class SMTPAppender's "run" method
never gets executed in this new version. Anyone else having this issue?

Thanks,


Louis-Félix wrote:
> 
> Hi,
> 
> I upgraded to logback 1.0.0 in a web application (tomcat 5, JDK 1.5), and
> the ERROR email are not sent anymore from the SMTPAppender.
> When I rollback my logback-core and logback-classic JARs to version
> 0.9.30,
> it's working again.
> 
> I have a simple config:
> 
>     <appender name="courriel"
> class="ch.qos.logback.classic.net.SMTPAppender">
>         <smtpHost>smtp.xxx.xx.xx</smtpHost>
>         <to>[email protected]</to>
>         <from>[email protected]</from>
>         <subject>Test</subject>
>         <cyclicBufferTracker
> class="ch.qos.logback.core.spi.CyclicBufferTrackerImpl">
>             <bufferSize>25</bufferSize>
>         </cyclicBufferTracker>
>         <layout class="ch.qos.logback.classic.html.HTMLLayout">
>             <pattern>%date%level%thread%logger%line%message</pattern>
>         </layout>
>     </appender>
> 
> I am using logback 1.0.0 with no problem in an other project (with JDK
> 1.6).
> Is there any known compatibility problem between logback 1.0.0 and JDK
> 1.5?
> 
> Thanks,
> Louis-Félix
> 
> _______________________________________________
> Logback-user mailing list
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
> 

-- 
View this message in context: 
http://old.nabble.com/SMTPAppender-mail-not-sent-%28logback-1.0.0%2C-JDK-1.5%29-tp33164248p33224758.html
Sent from the Logback User mailing list archive at Nabble.com.

_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to