From f6255f8ad90e8d8fca84405420d7baa8ee9a3c56 Mon Sep 17 00:00:00 2001 From: kimchy Date: Fri, 23 Jul 2010 19:29:14 +0300 Subject: [PATCH] change logging level to debug --- .../strategy/PreferUnallocatedShardUnassignedStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/cluster/routing/strategy/PreferUnallocatedShardUnassignedStrategy.java b/modules/elasticsearch/src/main/java/org/elasticsearch/cluster/routing/strategy/PreferUnallocatedShardUnassignedStrategy.java index ef6fa327b93..238a18553f6 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/cluster/routing/strategy/PreferUnallocatedShardUnassignedStrategy.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/cluster/routing/strategy/PreferUnallocatedShardUnassignedStrategy.java @@ -95,7 +95,7 @@ public class PreferUnallocatedShardUnassignedStrategy extends AbstractComponent TransportNodesListShardStoreMetaData.NodesStoreFilesMetaData nodesStoreFilesMetaData = transportNodesListShardStoreMetaData.list(shard.shardId(), false, nodesIds.toArray(new String[nodesIds.size()])).actionGet(); - if (logger.isWarnEnabled()) { + if (logger.isDebugEnabled()) { if (nodesStoreFilesMetaData.failures().length > 0) { StringBuilder sb = new StringBuilder(shard + ": failures when trying to list stores on nodes:"); for (int i = 0; i < nodesStoreFilesMetaData.failures().length; i++) { @@ -105,7 +105,7 @@ public class PreferUnallocatedShardUnassignedStrategy extends AbstractComponent } sb.append("\n -> ").append(nodesStoreFilesMetaData.failures()[i].getDetailedMessage()); } - logger.warn(sb.toString()); + logger.debug(sb.toString()); } }