Fix debug log format
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/38e5cf73 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/38e5cf73 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/38e5cf73 Branch: refs/heads/trunk Commit: 38e5cf73d64b7baa6ee9b83f5300c1397e223de2 Parents: 2714056 Author: Brandon Williams <brandonwilli...@apache.org> Authored: Tue Jul 31 10:51:03 2012 -0500 Committer: Brandon Williams <brandonwilli...@apache.org> Committed: Tue Jul 31 10:51:03 2012 -0500 ---------------------------------------------------------------------- .../apache/cassandra/service/StorageService.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/38e5cf73/src/java/org/apache/cassandra/service/StorageService.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java index 10a66bf..4bbffc8 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -588,8 +588,8 @@ public class StorageService implements IEndpointStateChangeSubscriber, StorageSe // as well as avoiding the nonsensical state of trying to stream from cluster with no active peers. Token<?> token; InetAddress current = null; - logger_.debug("Bootstrap variables: %s %s %s %s", - new Object[] {DatabaseDescriptor.isAutoBootstrap(), SystemTable.bootstrapInProgress(), SystemTable.bootstrapComplete(), schemaPresent}); + logger_.debug(String.format("Bootstrap variables: %s %s %s %s", + DatabaseDescriptor.isAutoBootstrap(), SystemTable.bootstrapInProgress(), SystemTable.bootstrapComplete(), schemaPresent)); if (DatabaseDescriptor.isAutoBootstrap() && (SystemTable.bootstrapInProgress() || (!SystemTable.bootstrapComplete() && schemaPresent))) {