anmolnar commented on a change in pull request #878: ZOOKEEPER-3339: Improve 
Debug and Trace Log Statements
URL: https://github.com/apache/zookeeper/pull/878#discussion_r278965459
 
 

 ##########
 File path: 
zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
 ##########
 @@ -838,11 +839,11 @@ synchronized public Vote getVote(){
      */
     private ServerState learningState(){
         if(self.getLearnerType() == LearnerType.PARTICIPANT){
-            LOG.debug("I'm a participant: " + self.getId());
+            LOG.debug("I am a participant: {}", self.getId());
 
 Review comment:
   Sorry, I'm not a native but why do you need this language change?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to