You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2017/05/11 00:47:01 UTC

cassandra git commit: fix mixup of logger/String.format marker syntax

Repository: cassandra
Updated Branches:
  refs/heads/trunk 41388a4b3 -> 122bf06e4


fix mixup of logger/String.format marker syntax


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

Branch: refs/heads/trunk
Commit: 122bf06e4006198ff2615b8df80640a936abc032
Parents: 41388a4
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Wed May 10 20:46:39 2017 -0400
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Wed May 10 20:46:39 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/122bf06e/src/java/org/apache/cassandra/repair/RepairSession.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/repair/RepairSession.java b/src/java/org/apache/cassandra/repair/RepairSession.java
index 8aa9590..c1b3f41 100644
--- a/src/java/org/apache/cassandra/repair/RepairSession.java
+++ b/src/java/org/apache/cassandra/repair/RepairSession.java
@@ -349,7 +349,7 @@ public class RepairSession extends AbstractFuture<RepairSessionResult> implement
             return;
 
         Exception exception = new IOException(String.format("Endpoint %s died", endpoint));
-        logger.error(String.format("{} session completed with the following error", previewKind.logPrefix(getId())), exception);
+        logger.error("{} session completed with the following error", previewKind.logPrefix(getId()), exception);
         // If a node failed, we stop everything (though there could still be some activity in the background)
         forceShutdown(exception);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org