Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread James Stauffer
ically the old configuration without restarting the application? I found no evidence in the complete manual too :-) bye -- Davide -- View this message in context: http://www.nabble.com/Changing---Retrieving-log4j-config-at-runtime-tf3238396.html#a9007011 Sent from the Log4j - User

Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread zeusfaber
n my log4j.xml this loggers are defined as: So all my levels are explicit. Bye -- Davide -- View this message in context: http://www.nabble.com/Changing---Retrieving-log4j-config-at-runtime-tf3238396.html#a9007161 Sent from the Log4j

Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread zeusfaber
seeing strange behaviours. But so, what would be the correct procedure to reload programmatically the old configuration without restarting the application? I found no evidence in the complete manual too :-) bye -- Davide -- View this message in context: http://www.nabble.com/Changing---Retrievin

Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread Curt Arnold
On Feb 16, 2007, at 9:43 AM, zeusfaber wrote: Any idea where I'm wrong? Thank you in advance -- Davide A null return from Logger.getLevel() indicates that logger does not have an explicit level, but inherits a level from its parent or their parents. If you return the parent's level in

Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread James Stauffer
ng? Thank you in advance -- Davide -- View this message in context: http://www.nabble.com/Changing---Retrieving-log4j-config-at-runtime-tf3238396.html#a9006677 Sent from the Log4j - Users mailing list archive at Nabble.com.

Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread zeusfaber
oot.getLevel().toInt(); } return level.toInt(); Any idea where I'm wrong? Thank you in advance -- Davide -- View this message in context: http://www.nabble.com/Changing---Retrieving-log4j-config-at-runtime-tf3238396.html#a9006677 Sent from the Log4j - Users mailing l

Re: Changing / Retrieving log4j config at runtime

2007-02-16 Thread James Stauffer
Look for LogWeb it is a servlet that allows configuring log4j. It will either meet your needs or show you how to do what you want to do. On 2/16/07, Gaurav Arora <[EMAIL PROTECTED]> wrote: Hi, I have been trying to retrieve all loggers attached to a root log using a servlet that runs at ser

Changing / Retrieving log4j config at runtime

2007-02-16 Thread Gaurav Arora
Hi, I have been trying to retrieve all loggers attached to a root log using a servlet that runs at server startup but I haven't been able to do so yet. I tried using the getAllAppenders method, which the manual says is deprecated and the Hierarchy class as well, both don't seem to work. Wha