[logback-user] SMTPAppender buffer flushed on exit?

Mark Woon markwoon at gmail.com
Tue Sep 20 21:54:07 CEST 2011

Is there a way to get the SMTPAppender to flush/send its buffer before the
system exits?

If I've a buffer of 64 and my program exits, it doesn't seem to be sending
out what's in the queue.  Is there a way to either configure it to flush
before the program exits or a hook I can call to trigger it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110920/1ecd267f/attachment.html>

More information about the Logback-user mailing list