cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject cassandra git commit: Ninja: use logger.trace() when we only intend to log at trace
Date Thu, 21 Apr 2016 20:32:32 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.2 324477457 -> c42f5f685


Ninja: use logger.trace() when we only intend to log at trace


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

Branch: refs/heads/cassandra-2.2
Commit: c42f5f68532a9e42e3f228b9dba5fdc9de5c37ca
Parents: 3244774
Author: Tyler Hobbs <tylerlhobbs@gmail.com>
Authored: Thu Apr 21 15:31:40 2016 -0500
Committer: Tyler Hobbs <tylerlhobbs@gmail.com>
Committed: Thu Apr 21 15:31:40 2016 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/gms/FailureDetector.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c42f5f68/src/java/org/apache/cassandra/gms/FailureDetector.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/gms/FailureDetector.java b/src/java/org/apache/cassandra/gms/FailureDetector.java
index a0754b1..b9b7944 100644
--- a/src/java/org/apache/cassandra/gms/FailureDetector.java
+++ b/src/java/org/apache/cassandra/gms/FailureDetector.java
@@ -269,7 +269,7 @@ public class FailureDetector implements IFailureDetector, FailureDetectorMBean
         }
 
         if (logger.isTraceEnabled() && heartbeatWindow != null)
-            logger.info("Average for {} is {}", ep, heartbeatWindow.mean());
+            logger.trace("Average for {} is {}", ep, heartbeatWindow.mean());
     }
 
     public void interpret(InetAddress ep)


Mime
View raw message