logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Eugelink" <tom_eugel...@hotmail.com>
Subject configureAndWatch behaviour
Date Thu, 06 Dec 2001 15:24:42 GMT
Hello developers,

I have a question if this behaviour is intentional, otherwise I will 
consider making a change to Log4J:

1. Log4J is started with configureAndWatch (interval: 1 sec).
2. In the configuration file the rootCategory is set to INFO.
3. When the application runs I get no DEBUG messages, as expected.
4. In the configuration file a category of a package is set to DEBUG,
   by removing a comment mark (#) from a line in the configuration file.
5. Without restarting I get DEBUG messages, as expected.
6. I reset the category to INFO,
   by re-inserting the comment mark that was removed in step 4.
7. The DEBUG messages keep coming!

Actually I'm using Log4J within Tomcat, so there lays the reason for not 
wanting to restart.

Tom

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message