DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9738>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9738

Should Hierarchy.resetConfiguration also reset LogLog?

           Summary: Should Hierarchy.resetConfiguration also reset LogLog?
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Configurator
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We are using the PropertiesConfigurator.configureAndWatch to setup log4j and 
monitor changes to our log4j.properties file. I occasionally need to turn on 
the LogLog messages (to debug appenders). With our setup, I just add 
log4j.debug=<whatever> to the log4j.properties file and the change is applied 
after the "watch" cycle detects the file change.

Unfortunately, when I remove the log4j.debug=<whatever> property declaration, 
the LogLog messages are not turned off (perhaps because the resetConfiguration 
method in the LoggerRepository implementation doesn't clear the flag checked by 
LogLog?).

Is there a workaround?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to