Repository: incubator-distributedlog
Updated Branches:
  refs/heads/master 3a4c1608f -> 5eb5434f6


DL-135: cleanup System.out

Author: xieliang <xieliang...@gmail.com>

Reviewers: Xi Liu <xiliu....@gmail.com>, Franck Cuny <fc...@apache.org>

Closes #70 from xieliang/DL-135


Project: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/commit/5eb5434f
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/tree/5eb5434f
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/diff/5eb5434f

Branch: refs/heads/master
Commit: 5eb5434f6e1c243c59244c974dfb69a33dfe6809
Parents: 3a4c160
Author: xieliang <xieliang...@gmail.com>
Authored: Tue Dec 13 15:49:31 2016 -0800
Committer: Sijie Guo <sij...@twitter.com>
Committed: Tue Dec 13 15:49:31 2016 -0800

----------------------------------------------------------------------
 .../client/routing/ConsistentHashRoutingService.java               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/5eb5434f/distributedlog-client/src/main/java/com/twitter/distributedlog/client/routing/ConsistentHashRoutingService.java
----------------------------------------------------------------------
diff --git 
a/distributedlog-client/src/main/java/com/twitter/distributedlog/client/routing/ConsistentHashRoutingService.java
 
b/distributedlog-client/src/main/java/com/twitter/distributedlog/client/routing/ConsistentHashRoutingService.java
index 8abd299..570c8bf 100644
--- 
a/distributedlog-client/src/main/java/com/twitter/distributedlog/client/routing/ConsistentHashRoutingService.java
+++ 
b/distributedlog-client/src/main/java/com/twitter/distributedlog/client/routing/ConsistentHashRoutingService.java
@@ -220,7 +220,7 @@ public class ConsistentHashRoutingService extends 
ServerSetRoutingService {
 
         synchronized void dumpHashRing() {
             for (Map.Entry<Long, SocketAddress> entry : circle.entrySet()) {
-                System.out.println(entry.getKey() + " : " + entry.getValue());
+                logger.info(entry.getKey() + " : " + entry.getValue());
             }
         }
 

Reply via email to