logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <mwom...@apache.org>
Subject Re: PropertyConfigurator.configureAndWatch
Date Wed, 05 Oct 2005 16:52:42 GMT
Yes, configureAndWatch has been removed in favor of the Watchdog mechanism.
There should be a FileWatchdog as part of the 1.3 package. It has been
generally tested, but probably needs more. Especially around configuring it
from config files and what happens when the file actually updates. That
whole mechanism is on my plate for the 1.3 review and push to beta.

One thing of note with the Watchdogs is that they are no longer tied to a
specific configurator class. The watchdog can support any Configurator and
does not require any support or changes from the configurator (though we had
to add one new method to the Configurator interface).


On 10/5/05, Jacob Kjome <hoju@visi.com> wrote:
> Quoting "Boddapati, Vijaya" <Vijaya.Boddapati@ibx.com>:
> > Hi,
> > I have downloaded the latest version of log4j(1.3 alpha). But I could
> > not locate the method configureAndWatch in PropertyConfigurator class.
> > Please point me to the exact class.
> >
> configureAndWatch() has been removed in Log4j-1.3. It is also not
> recommended
> to use this in Log4j-1.2 either if you are running in a J2EE environment.
> I believe Mark Womack was working on File Watchdogs and such, but I can't
> quite
> recall where he was with all that? Mark, can you comment?
> Jake
> > Thanks
> > Vijaya
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message