[jboss-jira] [JBoss JIRA] Created: (JGRP-484) Dynamically configure logging at runtime

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Apr 23 08:43:40 EDT 2007


Dynamically configure logging at runtime
----------------------------------------

                 Key: JGRP-484
                 URL: http://jira.jboss.com/jira/browse/JGRP-484
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Bela Ban
         Assigned To: Bela Ban
            Priority: Minor
             Fix For: 2.4.1 SP3, 2.5


For performance reasons, JGroups caches log levels as follows:

boolean trace=log.isTraceEnabled();

// later:
if(trace) {
     log.trace(...);
}

While caching created a measurable performance increase, it also disabled the ability to change the log levels at runtime (example: JBoss' log4j.xml, which is re-read every 60 secs).

Investigate how to have both good performance and dynamic runtime configuration of log levels. E.g. signal to enable logging ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list