From a5cd9ee315f0d1998cbdd0820d4d215c969c771b Mon Sep 17 00:00:00 2001 From: Asias He Date: Tue, 4 Aug 2015 07:47:26 +0800 Subject: [PATCH] storage_service: Remove the SS header in debug print Since the logger will print logger name, no need to print it twice. --- service/storage_service.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/service/storage_service.cc b/service/storage_service.cc index 484f72ea39..36ed37e3bc 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -373,7 +373,7 @@ future<> storage_service::bootstrap(std::unordered_set tokens) { } void storage_service::handle_state_bootstrap(inet_address endpoint) { - logger.debug("SS::handle_state_bootstrap endpoint={}", endpoint); + logger.debug("handle_state_bootstrap endpoint={}", endpoint); // explicitly check for TOKENS, because a bootstrapping node might be bootstrapping in legacy mode; that is, not using vnodes and no token specified auto tokens = get_tokens_for(endpoint); @@ -405,7 +405,7 @@ void storage_service::handle_state_bootstrap(inet_address endpoint) { } void storage_service::handle_state_normal(inet_address endpoint) { - logger.debug("SS::handle_state_bootstrap endpoint={}", endpoint); + logger.debug("handle_state_bootstrap endpoint={}", endpoint); auto tokens = get_tokens_for(endpoint); auto& gossiper = gms::get_local_gossiper(); @@ -620,7 +620,7 @@ void storage_service::handle_state_removing(inet_address endpoint, std::vector pieces; boost::split(pieces, value.value, boost::is_any_of(sstring(versioned_value::DELIMITER_STR)));