fix logging message to include the index

also add the list of current indices
This commit is contained in:
Shay Banon 2013-03-16 22:58:45 +01:00
parent 111a13222e
commit 2ed6ea25cc
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ public class LocalGatewayMetaState extends AbstractComponent implements ClusterS
continue; continue;
} }
if (!newMetaData.hasIndex(current.index())) { 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()))); FileSystemUtils.deleteRecursively(nodeEnv.indexLocations(new Index(current.index())));
} }
} }