logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject Re: Exception after calling shutddown
Date Mon, 04 Jun 2001 21:23:38 GMT


Ross,

Which OS is this? Which version of log4j? Is the exception thrown systematically? Thanks,
Ceki


At 12:23 04.06.2001 -0700, Ross Cormier wrote:
>Hi all,
>
>I get the following exception when I call shutdown on
>an instance of a Category object.  I have included
>some config info that I think is relevant.  FILE1 and
>FILE2 are FileAppenders.
>
>Thanks,
>Ross
>
><appender name="ASYNC"
>class="org.apache.log4j.AsyncAppender">
>  <appender-ref ref="FILE1"/>
>  <appender-ref ref="FILE2"/>
>  <appender-ref ref="CONSOLE"/>
></appender>
>
>
>log4j:ERROR Got an InterruptedException while waiting
>for the dispatcher to finish.
>java.lang.InterruptedException
>        at java.lang.Object.wait(Native Method)
>        at java.lang.Thread.join(Thread.java:930)
>        at java.lang.Thread.join(Thread.java:983)
>        at org.apache.log4j.AsyncAppender.close
>AsyncAppender.java:157)
>        at
>org.apache.log4j.Category.closeNestedAppenders(Category.java:283)
>        at
>org.apache.log4j.Hierarchy.shutdown(Hierarchy.java:445)
>        at org.apache.log4j.Category.shutdown(Category.java:979)
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail - only $35 
>a year!  http://personal.mail.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org

--
Ceki Gülcü


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message