enixon commented on a change in pull request #1100: ZOOKEEPER-3509: Revisit log 
format
URL: https://github.com/apache/zookeeper/pull/1100#discussion_r329701768
 
 

 ##########
 File path: 
zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Leader.java
 ##########
 @@ -1634,9 +1638,10 @@ public void revalidateSession(QuorumPacket qp, 
LearnerHandler learnerHandler) th
                 // set the session owner as the follower that owns the session
                 zk.setOwner(id, learnerHandler);
             } catch (KeeperException.SessionExpiredException e) {
-                LOG.error("Somehow session "
-                          + Long.toHexString(id)
-                          + " expired right after being renewed! 
(impossible)", e);
+                LOG.error(
+                    "Somehow session {} expired right after being renewed! 
(impossible)",
 
 Review comment:
   Add "0x"?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to