The two threads use different loggers.  If I made the sub-logger point
to the same appender with additivity=false would that prevent the
problem.  It appears that Catagory.callAppenders locks each catagory
up the chain so setting additivity to false should prevent the two
threads from locking the same Catagory objects.  Is that correct?

BTW, I am using 1.2.8.

On 9/24/07, James A. N. Stauffer <[EMAIL PROTECTED]> wrote:
> Would reducing the number of logs that get to the appender reduce the
> chance for this?  What else could be done to reduce the chance of it
> happening?
>
> On 9/21/07, Curt Arnold <[EMAIL PROTECTED]> wrote:
> >
> > The most obvious way to get a deadlock where one of the monitors is
> > RootLogger or RootCategory would be when a log request is made
> > (possibly indirectly) in the course of processing a log request.
> >
>
> --
> James A. N. Stauffer        http://www.geocities.com/stauffer_james/
> Are you good? Take the test at http://www.livingwaters.com/good/
>


-- 
James A. N. Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to