Ross,

I tried the following config file with org.apache.log4j.test.Shallow with no problems. 
Can you try it as well? Ceki

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


<log4j:configuration debug="true" 
        xmlns:log4j='http://jakarta.apache.org/log4j/'>

  <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
    <appender-ref ref="FILE1"/>
    <appender-ref ref="FILE2"/>
    <appender-ref ref="CONSOLE"/>
  </appender>

  <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="ROSS %-5p %c - %m%n"/>
     </layout>      
  </appender>

  <appender name="FILE1" class="org.apache.log4j.FileAppender">
     <param name="File" value="file1.log"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="ROSS1 %-5p %c - %m%n"/>
     </layout>      
  </appender>

  <appender name="FILE2" class="org.apache.log4j.FileAppender">
     <param name="File" value="file2.log"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="ROSS1 %-5p %c - %m%n"/>
     </layout>      
  </appender>
                
  <root>
    <priority value ="debug" />
    <appender-ref ref="ASYNC" />
  </root>
        
</log4j:configuration>


At 22:33 05.06.2001 +0200, you wrote:

>Ross,
>
>Which version of log4j is this? Ceki
>
>At 13:08 05.06.2001 -0700, you wrote:
>>I happens on Solaris also. 
>>
>>Java 1.2.2_05a
>>SunOS 5.8
>>
>>Ross
>>
>>--- Ross Cormier <[EMAIL PROTECTED]> wrote:
>>> Sorry for the lack of information.  I am running on
>>> NT
>>> SP 5/Java 1.3.02.  The exception is thrown without
>>> fail.  
>>> 
>>> I will be able to test it on Solaris tomorrow.
>>> 
>>> Thanks,
>>> Ross
>>> 
>>> --- Ceki Gülcü <[EMAIL PROTECTED]> wrote:
>>> > 
>>> > 
>>> > 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:
>>> > [EMAIL PROTECTED]
>>> > >For additional commands, e-mail:
>>> > [EMAIL PROTECTED]
>>> > 
>>> > --
>>> > Ceki Gülcü
>>> > 
>>> > 
>>> >
>>>
>>---------------------------------------------------------------------
>>> > To unsubscribe, e-mail:
>>> > [EMAIL PROTECTED]
>>> > For additional commands, e-mail:
>>> > [EMAIL PROTECTED]
>>> > 
>>> 
>>> 
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Get personalized email addresses from Yahoo! Mail -
>>> only $35 
>>> a year!  http://personal.mail.yahoo.com/
>>> 
>>>
>>---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
>>> [EMAIL PROTECTED]
>>> For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>> 
>>
>>
>>__________________________________________________
>>Do You Yahoo!?
>>Get personalized email addresses from Yahoo! Mail - only $35 
>>a year!  http://personal.mail.yahoo.com/
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>--
>Ceki Gülcü
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

--
Ceki Gülcü


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

Reply via email to