cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject [1/6] cassandra git commit: Ninja: move ProposeCallback.response() logging to trace
Date Wed, 24 Aug 2016 21:53:12 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.2 465bb5d45 -> 23d482243
  refs/heads/cassandra-3.0 fe3f3da25 -> 407dc30e2
  refs/heads/trunk 824cb768d -> 732b10183


Ninja: move ProposeCallback.response() logging to trace

This is on the client request path, and can spam the debug log.  This
was already moved to trace-level logging in trunk, I'm simply
backporting it to 2.2.

+1'ed on IRC by Paulo Motta and Jeff Jirsa


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/23d48224
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/23d48224
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/23d48224

Branch: refs/heads/cassandra-2.2
Commit: 23d4822439da2110b203489999d3475ec6ee0546
Parents: 465bb5d
Author: Tyler Hobbs <tylerlhobbs@gmail.com>
Authored: Wed Aug 24 16:50:27 2016 -0500
Committer: Tyler Hobbs <tylerlhobbs@gmail.com>
Committed: Wed Aug 24 16:50:27 2016 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/paxos/ProposeCallback.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/23d48224/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java b/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
index 018dab9..b0bd163 100644
--- a/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
+++ b/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
@@ -59,7 +59,7 @@ public class ProposeCallback extends AbstractPaxosCallback<Boolean>
 
     public void response(MessageIn<Boolean> msg)
     {
-        logger.debug("Propose response {} from {}", msg.payload, msg.from);
+        logger.trace("Propose response {} from {}", msg.payload, msg.from);
 
         if (msg.payload)
             accepts.incrementAndGet();


Mime
View raw message