You are correct.  It is only a file watcher, not a url watcher. v1.3 will
have a much richer set of functionality that can watch a file, url, or a
socket for updated configuration data and it will also support any
Configurator.

-Mark

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 14, 2005 8:20 AM
> To: log4j-user@logging.apache.org
> Subject: Reloading the config file
> 
> The log4j Configurator class has a method
> configureAndWatch(String configFilename, long delay)
> which can check that a config file has changed and, if so, reload it
> (delay
> being the reload interval).
> 
> This is a very convenient method. However, it seems that this method can
> only
> be applied to local files, not to URLs, and that it won't reload a config
> file located on a remote server. Am I correct?
> 
>   --Fred Mora
> 
> ---------------------------------------------------------------------
> 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