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: FileWatchdog and multiple threads
Date Tue, 05 Jun 2001 22:04:25 GMT

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?
>
>Rick Hansen
>
>
>---------------------------------------------------------------------
>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