Thanks Ceki,<br>This works for me. I tested and asyncAppender does what I wanted.<br>Thanks.<br>I&#39;d like to ask you, however, if there&#39;s a way to add at the end of a Throwable information a semicolon or something.<br>
I have my file appender configure with PatternLayout as follow:<br>&lt;layout class=&quot;org.apache.log4j.PatternLayout&quot;&gt;<br>            &lt;param name=&quot;ConversionPattern&quot; value=&quot;%d; [%t]; %-5p; %c; %m;%n&quot;/&gt;<br>
&lt;/layout&gt;<br>As you can see everything is separated by a semicolon. This works for me because I use MS Excel to open my log files.<br>Most of the columns are aligned except for the &quot;exception&quot; one. How can I add a semicolon to the end of exception string so I can use<br>
it as a delimiter........<br>Can this even be done?<br>Thanks<br>Greg.<br><br><br><br><br><div class="gmail_quote">On Wed, May 13, 2009 at 10:37 AM, Ceki Gulcu <span dir="ltr">&lt;ceki@qos.ch&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Greg Flex wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ceki,<div class="im"><br>
It is (kind of) clear. The only part I have problems with is: &quot;...Place logging events in a queue, and if the queue becomes full, drop new events...&quot;<br>
How exactly I&#39;d do this? Do I have to implement some method that &quot;drops new events if the queue becomes full&quot; or there&#39;s already<br>
something built-in.<br>
</div></blockquote>
<br>
You would need to modify AsyncAppender so that instead of blocking, it drops events. I would think that it would be a fairly easy modification to make.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I know that (From the Log4j Manual: &quot;...If however the queue is full, then AsyncAppender.append() will not return until free space becomes available.&quot; ) So if the queue becomes full the dispatcher thread will try to free the space by removing the oldest events from the queue and dispatch them to each attached appender but if the only appender is the SocketAppender that can&#39;t process anything at the moment, since<br>

there&#39;s no comunication to the server, what&#39;s going to happend?<br>
</blockquote>
<br></div>
Events will be dropped. (You can&#39;t have your cake and eat it too.)<div><div></div><div class="h5"><br>
<br>
-- <br>
Ceki Gülcü<br>
Logback: The reliable, generic, fast and flexible logging framework for Java.<br>
<a href="http://logback.qos.ch" target="_blank">http://logback.qos.ch</a><br>
_______________________________________________<br>
Logback-user mailing list<br>
Logback-user@qos.ch<br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</div></div></blockquote></div><br>