You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2016/04/21 03:13:07 UTC

[08/33] curator git commit: TreeCache debug logging

TreeCache debug logging


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/3d5970ff
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/3d5970ff
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/3d5970ff

Branch: refs/heads/CURATOR-299
Commit: 3d5970ffcd2a274285f6613551beddb78d32a125
Parents: 567cac3
Author: Scott Blum <dr...@apache.org>
Authored: Sat Feb 6 17:00:20 2016 -0500
Committer: Scott Blum <dr...@apache.org>
Committed: Mon Feb 8 13:36:56 2016 -0500

----------------------------------------------------------------------
 .../org/apache/curator/framework/recipes/cache/TreeCache.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/3d5970ff/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java
index 127a9f3..f762324 100644
--- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java
+++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java
@@ -338,6 +338,7 @@ public class TreeCache implements Closeable
         @Override
         public void process(WatchedEvent event)
         {
+            LOG.debug("process: {}", event);
             try
             {
                 switch ( event.getType() )
@@ -367,6 +368,7 @@ public class TreeCache implements Closeable
         @Override
         public void processResult(CuratorFramework client, CuratorEvent event) throws Exception
         {
+            LOG.debug("processResult: {}", event);
             Stat newStat = event.getStat();
             switch ( event.getType() )
             {
@@ -829,6 +831,7 @@ public class TreeCache implements Closeable
     {
         if ( treeState.get() != TreeState.CLOSED )
         {
+            LOG.debug("publishEvent: {}", event);
             executorService.submit(new Runnable()
             {
                 @Override