[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2896) Fix unguarded calls to Logger.debug()

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 26 11:13:20 EST 2010


    [ https://jira.jboss.org/jira/browse/JBWS-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12508427#action_12508427 ] 

Brian Stansberry commented on JBWS-2896:
----------------------------------------

Note the comment in the thread that an unguarded log.debugf() is faster if creating the message only involves only string concatenation/toString().

> Fix unguarded calls to Logger.debug()
> -------------------------------------
>
>                 Key: JBWS-2896
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2896
>             Project: JBoss Web Services
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf, jbossws-integration, jbossws-metro, jbossws-native
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For: jbossws-native-3.3.1, jbossws-metro-3.3.1, jbossws-cxf-3.3.1
>
>
> Some background: http://blogs.jboss.org/blog/dimitris/2005/04/01/AC08547736BD16504BEC955AEBDAA48F.txt
> Consider 
>  - moving Logger.debug() to Logger.trace()
>  - protect debug calls with if (debug) statement

-- 
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 jbossws-issues mailing list