[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    configureAndWatch behaviour
From:       "Tom Eugelink" <tom_eugelink () hotmail ! com>
Date:       2001-12-06 15:24:42
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic