Better logging
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/e2d243e9 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/e2d243e9 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/e2d243e9 Branch: refs/heads/master Commit: e2d243e9c1e63cc720a259e33ec296102b459067 Parents: 21b0877 Author: randgalt <[email protected]> Authored: Wed Dec 20 16:43:13 2017 -0500 Committer: randgalt <[email protected]> Committed: Wed Dec 20 16:43:13 2017 -0500 ---------------------------------------------------------------------- .../curator/framework/recipes/cache/PathChildrenCache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/e2d243e9/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java ---------------------------------------------------------------------- diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java index f2744f9..5d418c6 100644 --- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java +++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java @@ -505,12 +505,12 @@ public class PathChildrenCache implements Closeable { if ( mode == RefreshMode.NO_NODE_EXCEPTION ) { - log.debug("KeeperException.NoNodeException received for getChildren() and refresh has failed. Resetting ensureContainers but not refreshing."); + log.debug("KeeperException.NoNodeException received for getChildren() and refresh has failed. Resetting ensureContainers but not refreshing. Path: [{}]", path); ensureContainers.reset(); } else { - log.debug("KeeperException.NoNodeException received for getChildren(). Resetting ensureContainers"); + log.debug("KeeperException.NoNodeException received for getChildren(). Resetting ensureContainers. Path: [{}]", path); ensureContainers.reset(); offerOperation(new RefreshOperation(PathChildrenCache.this, RefreshMode.NO_NODE_EXCEPTION)); }
