From 2ed6ea25ccad74105eebc8c93748265a84233d52 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Sat, 16 Mar 2013 22:58:45 +0100 Subject: [PATCH] fix logging message to include the index also add the list of current indices --- .../gateway/local/state/meta/LocalGatewayMetaState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java b/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java index 08573905e80..6401b362316 100644 --- a/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java +++ b/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java @@ -219,7 +219,7 @@ public class LocalGatewayMetaState extends AbstractComponent implements ClusterS continue; } if (!newMetaData.hasIndex(current.index())) { - logger.debug("[{}] deleting index that is no longer part of the metadata"); + logger.debug("[{}] deleting index that is no longer part of the metadata (indices: [{}])", current.index(), newMetaData.indices().keySet()); FileSystemUtils.deleteRecursively(nodeEnv.indexLocations(new Index(current.index()))); } }