Do you mean changes made after the initial configuration of log4j?  You can
use 

        PropertyConfigurator.configureAndWatch( cfgFile, delay )

This will load your log4j configuration file and create a thread that looks
for changes to the config file reloading when necessary.

--Norm

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
[EMAIL PROTECTED] 

> -----Original Message-----
> From: shankarr [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 27, 2004 9:14 AM
> To: [EMAIL PROTECTED]
> Subject: log4j integration
> 
> 
> Hi!
> I have integrated log4j with struts.
> I need to know how to ensure that the changes done to 
> log4j.properties file 
> is taken into account at run time.
> TIA,
> Richie
> 
> "To achieve all that is possible, one must attempt the impossible"
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to