TisonKun commented on a change in pull request #1100: ZOOKEEPER-3509: Revisit log format URL: https://github.com/apache/zookeeper/pull/1100#discussion_r329841366
########## File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java ########## @@ -1687,8 +1699,7 @@ public ProcessTxnResult processTxn(Request request) { ChangeRecord cr = outstandingChanges.remove(); ServerMetrics.getMetrics().OUTSTANDING_CHANGES_REMOVED.add(1); if (cr.zxid < zxid) { - LOG.warn("Zxid outstanding " + cr.zxid - + " is less than current " + zxid); + LOG.warn("Zxid outstanding {} is less than current {}", cr.zxid, zxid); Review comment: Updated ---------------------------------------------------------------- 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