[logback-user] Logback with Postfix
Thorbjørn Ravn Andersen
thunderaxiom at gmail.com
Tue Jun 2 13:09:39 CEST 2009
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>brian.moschel at gmail.com <mailto:brian.moschel at gmail.com></To>
> <From>brian.moschel at gmail.com <mailto:brian.moschel at gmail.com></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!"
More information about the Logback-user
mailing list