<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Here we go: <a href="http://stackoverflow.com/questions/3678755/do-i-need-to-flush-events-when-shutting-down-using-logback" class="">http://stackoverflow.com/questions/3678755/do-i-need-to-flush-events-when-shutting-down-using-logback</a><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On 13 May 2015, at 17:51, David Roussel <<a href="mailto:nabble@diroussel.xsmail.com" class="">nabble@diroussel.xsmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Chris,<br class=""><br class="">Yes it did just to be on the safe side. There is a stackoverflow question about it, perhaps with an answer from me. It's been a while since I did it. <br class=""><br class="">David<br class=""><br class=""><blockquote type="cite" class="">On 13 May 2015, at 17:45, Kantzer, Chris E <<a href="mailto:ckantzer@cxloyalty.com" class="">ckantzer@cxloyalty.com</a>> wrote:<br class=""><br class="">Lucas, I do have scan set to true in my config, but we were not updating the config at the time of the stuck threads.  Thanks though.<br class=""><br class="">David, I will look into the asyncappender.  Did you have to add the hooks for app shutdown or post shutdown cleanup?  <br class=""><br class="">-----Original Message-----<br class="">From: Logback-user [<a href="mailto:logback-user-bounces@qos.ch" class="">mailto:logback-user-bounces@qos.ch</a>] On Behalf Of David Roussel<br class="">Sent: Wednesday, May 13, 2015 12:34 PM<br class="">To: logback users list<br class="">Subject: Re: [logback-user] STUCK threads with Logback<br class=""><br class="">Hi Chris,<br class=""><br class="">I always use an async spender so that my application logic is not delayed by logback trying to write synchronously to disk. <br class=""><br class="">David<br class=""><br class=""><blockquote type="cite" class="">On 13 May 2015, at 16:07, Kantzer, Chris E <<a href="mailto:ckantzer@cxloyalty.com" class="">ckantzer@cxloyalty.com</a>> wrote:<br class=""><br class="">Hello,<br class="">We are getting some stuck threads in our Prod apps that seem to point to logback as the culprit.  It only took a few moments to realize we have been lax with our logging statements and we were logging a huge amount of (unnecessary) lines.  We are cutting back significantly the number of logged lines in the hopes that it solves the issue.<br class=""><br class="">My question:  Is there anything else we should investigate as a possible reason for logback causing stuck threads OTHER than excessive logging?  I can post the stack trace if needed.<br class=""><br class="">Thanks,<br class="">Chris Kantzer<br class=""><br class="">_______________________________________________<br class="">Logback-user mailing list<br class=""><a href="mailto:Logback-user@qos.ch" class="">Logback-user@qos.ch</a><br class="">http://mailman.qos.ch/mailman/listinfo/logback-user<br class=""></blockquote>_______________________________________________<br class="">Logback-user mailing list<br class=""><a href="mailto:Logback-user@qos.ch" class="">Logback-user@qos.ch</a><br class="">http://mailman.qos.ch/mailman/listinfo/logback-user<br class="">_______________________________________________<br class="">Logback-user mailing list<br class="">Logback-user@qos.ch<br class="">http://mailman.qos.ch/mailman/listinfo/logback-user<br class=""></blockquote>_______________________________________________<br class="">Logback-user mailing list<br class=""><a href="mailto:Logback-user@qos.ch" class="">Logback-user@qos.ch</a><br class="">http://mailman.qos.ch/mailman/listinfo/logback-user<br class=""></div></blockquote></div><br class=""></div></body></html>