From 075e6caba04ff5547bda2441b21e5d46d7df2995 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Tue, 23 Jun 2015 08:42:56 +0200 Subject: [PATCH] logging: if starting watcher fails this should be more visible Original commit: elastic/x-pack-elasticsearch@26da9d766189eaa664efeaf6276a0cff65f3bd32 --- .../java/org/elasticsearch/watcher/WatcherLifeCycleService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/watcher/WatcherLifeCycleService.java b/src/main/java/org/elasticsearch/watcher/WatcherLifeCycleService.java index bf4d724c789..b8a9fe0b509 100644 --- a/src/main/java/org/elasticsearch/watcher/WatcherLifeCycleService.java +++ b/src/main/java/org/elasticsearch/watcher/WatcherLifeCycleService.java @@ -82,7 +82,7 @@ public class WatcherLifeCycleService extends AbstractComponent implements Cluste try { watcherService.start(state); } catch (Exception e) { - logger.debug("failed to start watcher. please wait for the cluster to become ready or try to start Watcher manually"); + logger.warn("failed to start watcher. please wait for the cluster to become ready or try to start Watcher manually", e); } }