Watcher: Improve upgrade API logging message to include index names
Original commit: elastic/x-pack-elasticsearch@9cecc11f88
This commit is contained in:
parent
026729e911
commit
6ee4fe6a0b
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue