cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: fix parameterized logging marker/parm count mismatch
Date Tue, 05 Jan 2016 03:28:39 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 5fe709706 -> 2188bec56


fix parameterized logging marker/parm count mismatch


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

Branch: refs/heads/trunk
Commit: 2188bec560d973e58da6781fade6f52781b154fd
Parents: 5fe7097
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Mon Jan 4 22:27:50 2016 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Mon Jan 4 22:27:50 2016 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/hints/HintVerbHandler.java     | 2 +-
 src/java/org/apache/cassandra/hints/LegacyHintsMigrator.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2188bec5/src/java/org/apache/cassandra/hints/HintVerbHandler.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hints/HintVerbHandler.java b/src/java/org/apache/cassandra/hints/HintVerbHandler.java
index b2c7b6a..36d8a10 100644
--- a/src/java/org/apache/cassandra/hints/HintVerbHandler.java
+++ b/src/java/org/apache/cassandra/hints/HintVerbHandler.java
@@ -67,7 +67,7 @@ public final class HintVerbHandler implements IVerbHandler<HintMessage>
         }
         catch (MarshalException e)
         {
-            logger.warn("Failed to validate a hint for {} (table id {}) - skipped", hostId);
+            logger.warn("Failed to validate a hint for {} - skipped", hostId);
             reply(id, message.from);
             return;
         }

http://git-wip-us.apache.org/repos/asf/cassandra/blob/2188bec5/src/java/org/apache/cassandra/hints/LegacyHintsMigrator.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hints/LegacyHintsMigrator.java b/src/java/org/apache/cassandra/hints/LegacyHintsMigrator.java
index 30e5fe0..93c1193 100644
--- a/src/java/org/apache/cassandra/hints/LegacyHintsMigrator.java
+++ b/src/java/org/apache/cassandra/hints/LegacyHintsMigrator.java
@@ -213,7 +213,7 @@ public final class LegacyHintsMigrator
         }
         catch (IOException e)
         {
-            logger.error("Failed to migrate a hint for {} from legacy {}.{} table: {}",
+            logger.error("Failed to migrate a hint for {} from legacy {}.{} table",
                          row.getUUID("target_id"),
                          SystemKeyspace.NAME,
                          SystemKeyspace.LEGACY_HINTS,
@@ -222,7 +222,7 @@ public final class LegacyHintsMigrator
         }
         catch (MarshalException e)
         {
-            logger.warn("Failed to validate a hint for {} (table id {}) from legacy {}.{}
table - skipping: {})",
+            logger.warn("Failed to validate a hint for {} from legacy {}.{} table - skipping",
                         row.getUUID("target_id"),
                         SystemKeyspace.NAME,
                         SystemKeyspace.LEGACY_HINTS,


Mime
View raw message