Reduce debug logging during repair Patch by marcuse; reviewed by yukim for CASSANDRA-11411
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/97dbc7a2 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/97dbc7a2 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/97dbc7a2 Branch: refs/heads/cassandra-3.0 Commit: 97dbc7a2aabc1d2b6eb311a764fcbb0f30dfef8f Parents: b6d0a75 Author: Marcus Eriksson <marc...@apache.org> Authored: Wed Mar 23 09:07:30 2016 +0100 Committer: Marcus Eriksson <marc...@apache.org> Committed: Wed Mar 23 14:39:05 2016 +0100 ---------------------------------------------------------------------- src/java/org/apache/cassandra/service/StorageService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/97dbc7a2/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 9a0ba5d..5d29a5a 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -3184,8 +3184,8 @@ public class StorageService extends NotificationBroadcasterSupport implements IE */ public List<Range<Token>> getAllRanges(List<Token> sortedTokens) { - if (logger.isDebugEnabled()) - logger.debug("computing ranges for {}", StringUtils.join(sortedTokens, ", ")); + if (logger.isTraceEnabled()) + logger.trace("computing ranges for {}", StringUtils.join(sortedTokens, ", ")); if (sortedTokens.isEmpty()) return Collections.emptyList();