commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Giguere" <>
Subject RE: [commons-logging] how to reload configuration?
Date Tue, 26 Aug 2003 18:01:42 GMT
Hi Mathieu

Nope, not supported
Commons-logging only presents an interface to the log calls, not the
configuration of underlying engines. All configuration call must be done in
your code (or using system properties on startup).

Although, you can "personalize" commons-logging by replacing the default
LogFactory with your own. Doing so, you can make it create your own logger,
one derived from the one offered by commons-logging for instance. You can
then with all this take control over the configuration issues of the
underlying log package (like log4j or jdk1.4 logging package).

Hope it helps

> -----Original Message-----
> From: Mathieu Peltier []
> Sent: August 26, 2003 1:43 PM
> To:
> Subject: [commons-logging] how to reload configuration?
> Hi,
> I am new to commons logging. Is it possible with commons logging to
> dynamically reload the configuration file of the "real" logging framework
> used (for example Log4j) or even to change the framework used? If
> yes, what
> is the best way to do that?
> Thank you for your help, in advance.
> --
> Mathieu Peltier
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message