cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject cassandra git commit: Move prepared statement invalidation message to DEBUG
Date Fri, 11 Sep 2015 16:39:38 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 9faa193e9 -> e9f36042c


Move prepared statement invalidation message to DEBUG

Those message are of no particular use to users as they result from
a user action and don't provide actionable information.


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

Branch: refs/heads/cassandra-2.1
Commit: e9f36042cd07459df8f50a1cc7cf621eaf183657
Parents: 9faa193
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Fri Sep 11 18:38:24 2015 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Fri Sep 11 18:38:27 2015 +0200

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cql3/QueryProcessor.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/e9f36042/src/java/org/apache/cassandra/cql3/QueryProcessor.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/QueryProcessor.java b/src/java/org/apache/cassandra/cql3/QueryProcessor.java
index 3d33713..d59d84f 100644
--- a/src/java/org/apache/cassandra/cql3/QueryProcessor.java
+++ b/src/java/org/apache/cassandra/cql3/QueryProcessor.java
@@ -616,20 +616,20 @@ public class QueryProcessor implements QueryHandler
         {
             if (columnsDidChange)
             {
-                logger.info("Column definitions for {}.{} changed, invalidating related prepared
statements", ksName, cfName);
+                logger.debug("Column definitions for {}.{} changed, invalidating related
prepared statements", ksName, cfName);
                 removeInvalidPreparedStatements(ksName, cfName);
             }
         }
 
         public void onDropKeyspace(String ksName)
         {
-            logger.info("Keyspace {} was dropped, invalidating related prepared statements",
ksName);
+            logger.debug("Keyspace {} was dropped, invalidating related prepared statements",
ksName);
             removeInvalidPreparedStatements(ksName, null);
         }
 
         public void onDropColumnFamily(String ksName, String cfName)
         {
-            logger.info("Table {}.{} was dropped, invalidating related prepared statements",
ksName, cfName);
+            logger.debug("Table {}.{} was dropped, invalidating related prepared statements",
ksName, cfName);
             removeInvalidPreparedStatements(ksName, cfName);
         }
 	}


Mime
View raw message