Larry, the DOMConfigurator lets you call configureAndWatch() as well.  I was
looking through the dtd, and to me there is no obvious way to specify a
reload interval.  Maybe someone more knowledgeable will speak up.

I really like this idea though.  If the functionality is not there, I think
it should be added.  Seems to me that you just need to specify settings for
a FileWatchdog object.  Of course, code would need to be added to handle the
property settings and create/make the appropriate calls.

-Mark

-----Original Message-----
From: Larry Reeder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: Specifying config file reload interval in config file itself?


I know you can use the log4j API call
PropertyConfigurator.configureAndWatch to set a check/reload interval for
the config file.  Is there a setting you can put in the config file that
will specify how often it should be checked for changes, so that default
initialization will check and reload the config file?

Thanks........   Larry


---------------------------------------------------------------------
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