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

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Apr 26 10:39:31 EDT 2007


    [ http://jira.jboss.com/jira/browse/JGRP-484?page=comments#action_12360575 ] 
            
Bela Ban commented on JGRP-484:
-------------------------------

Measure performance of ilog.isTraceEnabled() first, maybe perf has improved

> 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.6
>
>
> 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