logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <wom...@adobe.com>
Subject RE: Reloading the config file
Date Thu, 14 Jul 2005 16:29:12 GMT
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: log4jusers.ml.trace@spamgourmet.com
> [mailto:log4jusers.ml.trace@spamgourmet.com]
> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message