[jboss-jira] [JBoss JIRA] Created: (JBAS-7692) Clean up log.debug() usage

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Feb 3 09:44:27 EST 2010


Clean up log.debug() usage
--------------------------

                 Key: JBAS-7692
                 URL: https://jira.jboss.org/jira/browse/JBAS-7692
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: JBossAS-6.0.0.M3


See the forum thread for discussion of the heavy debug logging that goes on during AS startup.

This is a parent JIRA for a general cleanup; the real action items will be sub-tasks. I'll create a subtask for some general profiling work, and we can add subtasks for cleaning up specific areas (external projects or chunks of code in the AS codebase itself.)

Cleanup consists of:

1) Convert overly spammy DEBUG logging to TRACE. When you convert it, preferably make it a log.debugf statement; otherwise add a guard unless the message is static.
2) Try and identify remaining debug log messages where the cost of constructing the message is high.
3) For such messages, either convert to log.debugf or add a log.isDebugEnabled() guard.

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

        



More information about the jboss-jira mailing list