curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dragonsi...@apache.org
Subject [1/3] curator git commit: TreeCache debug logging
Date Tue, 09 Feb 2016 23:13:54 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-3.0 4c92edbc1 -> 95bceae69


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-3.0
Commit: 3d5970ffcd2a274285f6613551beddb78d32a125
Parents: 567cac3
Author: Scott Blum <dragonsinth@apache.org>
Authored: Sat Feb 6 17:00:20 2016 -0500
Committer: Scott Blum <dragonsinth@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


Mime
View raw message