cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject git commit: update startup log messages Patch by Vijay, reviewed by brandonwilliams for CASSANDRA-4802
Date Tue, 16 Oct 2012 04:27:02 GMT
Updated Branches:
  refs/heads/trunk 7e937b3d1 -> d525cf969


update startup log messages
Patch by Vijay, reviewed by brandonwilliams for CASSANDRA-4802


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

Branch: refs/heads/trunk
Commit: d525cf969c042b21a9375446f5449ee82d7d1484
Parents: 7e937b3
Author: Vijay Parthasarathy <vparthasarathy@ipad.apple.com>
Authored: Mon Oct 15 21:21:51 2012 -0700
Committer: Vijay Parthasarathy <vparthasarathy@ipad.apple.com>
Committed: Mon Oct 15 21:21:51 2012 -0700

----------------------------------------------------------------------
 .../apache/cassandra/service/StorageService.java   |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d525cf96/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 7d92fbe..8de0bd2 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -640,7 +640,7 @@ public class StorageService implements IEndpointStateChangeSubscriber,
StorageSe
                     if (DatabaseDescriptor.getNumTokens() == 1)
                         logger.warn("Generated random token " + tokens + ". Random tokens
will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations");
                     else
-                        logger.info("Generated random tokens.");
+                        logger.info("Generated random tokens. tokens are {}", tokens);
                 }
                 else
                 {
@@ -716,12 +716,12 @@ public class StorageService implements IEndpointStateChangeSubscriber,
StorageSe
             if (!current.isEmpty())
                 for (InetAddress existing : current)
                     Gossiper.instance.replacedEndpoint(existing);
-            logger.info("Bootstrap/Replace/Move completed! Now serving reads.");
+            logger.info("Startup completed! Now serving reads.");
             assert tokenMetadata.sortedTokens().size() > 0;
         }
         else
         {
-            logger.info("Bootstrap complete, but write survey mode is active, not becoming
an active ring member. Use JMX (StorageService->joinRing()) to finalize ring joining.");
+            logger.info("Startup complete, but write survey mode is active, not becoming
an active ring member. Use JMX (StorageService->joinRing()) to finalize ring joining.");
         }
     }
 
@@ -837,6 +837,7 @@ public class StorageService implements IEndpointStateChangeSubscriber,
StorageSe
         Tracing.instance();
         setMode(Mode.JOINING, "Starting to bootstrap...", true);
         new BootStrapper(FBUtilities.getBroadcastAddress(), tokens, tokenMetadata).bootstrap();
// handles token update
+        logger.info("Bootstrap completed! for the tokens {}", tokens);
     }
 
     public boolean isBootstrapMode()


Mime
View raw message