Watcher: Improve upgrade API logging message to include index names

Original commit: elastic/x-pack-elasticsearch@9cecc11f88
This commit is contained in:
Alexander Reelsen 2017-08-23 16:11:49 +02:00
parent 026729e911
commit 6ee4fe6a0b
1 changed files with 1 additions and 2 deletions

View File

@ -165,8 +165,7 @@ public class WatcherLifeCycleService extends AbstractComponent implements Cluste
if (isIndexInternalFormatTriggeredWatchIndex && isIndexInternalFormatWatchIndex) {
executor.execute(() -> start(event.state(), false));
} else {
logger.warn("Not starting watcher, run the Upgrade API first.");
logger.debug("Upgrade required, matches interal index format: watches index [{}], triggered watches index [{}]",
logger.warn("not starting watcher, upgrade API run required: .watches[{}], .triggered_watches[{}]",
isIndexInternalFormatWatchIndex, isIndexInternalFormatTriggeredWatchIndex);
}
}