Brian Moschel skrev den 19-05-2009 02:00:
I'm trying to set up logback for use with Postfix running locally on
the same machine as my app. I am using the following:
<appender name="EMAIL" class="ch.qos.logback.classic.net.SMTPAppender">
<SMTPHost>localhost</SMTPHost>
<To>[email protected] <mailto:[email protected]></To>
<From>[email protected] <mailto:[email protected]></From>
<Subject>TESTING: %logger{20} - %m</Subject>
<layout class="ch.qos.logback.classic.html.HTMLLayout"/>
</appender>
This does not work though. It hangs forever and my local mail logs
never receive a request. The local mail server is running at port 25.
I can run "mail <some email address> to sucessfully mail someone on
this machine. Any ideas how to debug this?
The question is how far the mail gets.
First see if you can attach jconsole/jvisualvm to the troublesome
process to get wiser :)
Then provoke a thread dump of the process...
--
Thorbjørn Ravn Andersen "...plus... Tubular Bells!"
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user