Hello,

If I use a LogFileAppender and a JDBCAppender, will these be run in a single thread if I use only one AsyncAppender, and run in two threads if two AsyncAppenders are used as in the example below? (I am thinking that maybe the LogFileAppender won't suffer from errors in my JDBCAppender in such case.)

<appender name="BlockingAsyncAppender" class="org.apache.log4j.AsyncAppender">
<param name="BufferSize" value="1000" />
<param name="Blocking" value="false" />
<appender-ref ref="LogFileAppender" />
</appender>

<appender name="NonBlockingAsyncAppender" class="org.apache.log4j.AsyncAppender">
<param name="BufferSize" value="1000" />
<param name="Blocking" value="false" />
<appender-ref ref="JDBCAppender" />
</appender>


Background:
I just noticed a bug in my application; when my database(server) used for logging was restarted the application could not reconnect to it. I didn't notice this until several days later when my application stopped working, and I then saw that nothing had been put in the database since the restart. I guess the problem is in my JDBCAppender which I will look into soon..

Thanks!
/Staffan