You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/01 12:38:17 UTC

[GitHub] [pulsar] sijie commented on a change in pull request #4436: Fix log format for module pulsar-client

sijie commented on a change in pull request #4436: Fix log format for module pulsar-client
URL: https://github.com/apache/pulsar/pull/4436#discussion_r289603445
 
 

 ##########
 File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java
 ##########
 @@ -342,9 +342,7 @@ public void run(Timeout timeout) throws Exception {
                 return;
             }
 
-            if (log.isDebugEnabled()) {
-                log.debug("[{}]  run partitionsAutoUpdateTimerTask for partitioned producer: {}", topic);
-            }
+            log.debug("[{}] run partitionsAutoUpdateTimerTask for partitioned producer", topic);
 
 Review comment:
   Please don't remove `if (log.isDebugEnabled())`. We use `if (log.isDebugEnabled())` for debug level logging everywhere in the project.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services