You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Damith Rajapakse <Da...@hsenid.lk> on 2002/06/21 05:54:36 UTC

hot re-configuring log4j

is there a way to reconfigure log4j without restarting the application?
that is, can one change the log4j config file and load the new settings
without restarting the application?
currently, i'm using PropertyConfigurator.configure(logConfFile); to achieve
this but it causes some problems.
the reason might be that some threads of the application trying to use log4j
while the reconfiguration is going on
so, i'm looking for a safe way of doing this..

-damith