XComp commented on code in PR #430: URL: https://github.com/apache/curator/pull/430#discussion_r958456254
########## curator-recipes/src/main/java/org/apache/curator/framework/recipes/leader/LeaderLatch.java: ########## @@ -717,6 +720,7 @@ else if ( !oldValue && newValue ) private void setNode(String newValue) throws Exception { String oldPath = ourPath.getAndSet(newValue); + log.debug("setNode with oldPath: {}, newValue: {}", oldPath, newValue); Review Comment: ```suggestion log.debug("setNode in {}, with oldPath: {}, newValue: {}", id, oldPath, newValue); ``` Adding the ID helps when debugging tests that run multiple `LeaderLatch` instances locally. -- 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. To unsubscribe, e-mail: dev-unsubscr...@curator.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org