<div dir="ltr">Hello,<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 3:34 PM, ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Which version of the code are you looking at? A link to the code on github would be useful.</blockquote><div><br></div><div style>Oh, sorry for the lack of context. I was reading the Logback manual (<a href="http://logback.qos.ch/manual/appenders.html">http://logback.qos.ch/manual/appenders.html</a>), which states, "If and when the server comes back up, then event transmission will be resumed transparently. This transparent reconnection is performed by a connector thread which periodically attempts to connect to the server."</div>
<div style><br></div><div style>I was wondering what the rationale for the connector thread was. What problem does it solve that simply attempting reconnection upon the arrival of an event would not solve?</div><div style>
<br></div><div style>Thanks for any information,</div><div style>Will</div><div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><br>
<br>
On 01.05.2013 22:33, Will Mason wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello,<br>
I had a question about the design of SocketAppender. Why does the<br>
appender spawn a thread to try to connect to an unconnected socket?<br>
Could someone please explain how that is better than just trying to<br>
reconnect when a log event reaches an unconnected appender?<br>
<br>
Thanks for any information,<br>
Will<br>
<br>
</blockquote>
<br>
<br></div></div><span class=""><font color="#888888">
-- <br>
Ceki<br>
65% of statistics are made up on the spot<br>
______________________________<u></u>_________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-user</a><br>
</font></span></blockquote></div><br></div></div>