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


> -----Original Message-----
> From: Mathieu Peltier [mailto:[EMAIL PROTECTED]
> Sent: August 26, 2003 1:43 PM
> To: [EMAIL PROTECTED]
> 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: [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