Log deleting indices at info level

Deleting indices is an important event in a cluster and as such should
be logged at the info level. This commit changes the logging level on
index deletion to the info level.

Relates #22627
This commit is contained in:
Jason Tedor 2017-01-14 23:13:40 -05:00 committed by GitHub
parent 4f89455a3a
commit bed719de0a
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class MetaDataDeleteIndexService extends AbstractComponent {
final int previousGraveyardSize = graveyardBuilder.tombstones().size();
for (final Index index : indices) {
String indexName = index.getName();
logger.debug("[{}] deleting index", index);
logger.info("{} deleting index", index);
routingTableBuilder.remove(indexName);
clusterBlocksBuilder.removeIndexBlocks(indexName);
metaDataBuilder.remove(indexName);