But does calling PropertyConfigurator.configure("myConfFile") override the previous 
call, thereby turning off the watch?  

 -----Original Message-----
From:   Sara Prigge [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, January 24, 2002 10:20 AM
To:     'Log4J Users List'
Subject:        RE: Turning of conf file watching

You could use the configure method like:
PropertyConfigurator.configure("myConfFile");

I believe that will just load your config file.  It will not check to see if
it's been updated.  I'm not aware of being able to somehow "turn off" the
configureAndWatch method. 

-----Original Message-----
From: Charlie Cano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject: Turning of conf file watching


Hey all,

Quick question: If I initialize a PropertyConfigurator with 

PropertyConfigurator.configureAndWatch("myConfFile", 1000);

is there anyway I can turn that watch off?  The API doc is not clear on this
issue.  I basically want the ability to, at some future point,
programmatically stop checking the configuration file and auto-loading the
configuration.  Is this possible?

Thanks in advance,
Charlie

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

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




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

Reply via email to