You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Avery Ching (Commented) (JIRA)" <ji...@apache.org> on 2011/10/19 05:04:10 UTC

[jira] [Commented] (GIRAPH-59) test is debug enabled before LOG.debug(), so as for LOG.info()

    [ https://issues.apache.org/jira/browse/GIRAPH-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130327#comment-13130327 ] 

Avery Ching commented on GIRAPH-59:
-----------------------------------

+1, thanks Zhiwei.  I will commit on your behalf.
                
> test is debug enabled before LOG.debug(), so as for LOG.info()
> --------------------------------------------------------------
>
>                 Key: GIRAPH-59
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-59
>             Project: Giraph
>          Issue Type: Bug
>    Affects Versions: 0.70.0
>            Reporter: Zhiwei Gu
>            Assignee: Zhiwei Gu
>            Priority: Minor
>             Fix For: 0.70.0
>
>         Attachments: GIRAPH-59.patch
>
>
> For example: src/main/java/org/apache/giraph/comm/BasicRPCCommunications.java
> in putMsgList(), 
> LOG.debug("putMsgList: Adding msgList " + msgList +
>                   " on vertex " + vertex);
> should be:
>         if (LOG.isDebugEnabled()) {
>                LOG.debug("putMsgList: Adding msgList " + msgList +
>                                " on vertex " + vertex);
>         }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira