Rick,

No, logging in one thread while another is in doConfigure won't cause an error. Log4j 
is thread safe. Ceki

At 13:20 11.06.2001 -0500, you wrote:
>Ceki,
>
>I could still use a little clarification here. From your asnwer it is not
>clear if it is safe to reconfig in a J2EE environment or not. 
>
>Thanks
>
>Rick Hansen
>
>> 
>> Nope. Log4j is thread safe. Ceki
>> 
>> At 16:56 05.06.2001 -0500, you wrote:
>> >I am using log4J in a J2EE environment and would like to 
>> reload the log4j
>> >configuration if the config file changes. I know I can use 
>> FileWatchdog and
>> >doOnChange(). But I am wondering whether this is safe? 
>> Between calling
>> >resetConfiguration() and doConfigure() is there any 
>> guarantee that some
>> >other thread won't try to log and cause an error?
>
>---------------------------------------------------------------------
>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