From 615b1f63e5dd9cac256847316bf9941ee05e6a9b Mon Sep 17 00:00:00 2001 From: David Pilato Date: Tue, 23 Jul 2013 17:55:55 +0200 Subject: [PATCH] Moving log level to debug We don't want to have too much INFO log level. So we move some parts to log.debug. Closes #4. --- .../elasticsearch/discovery/gce/GceUnicastHostsProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/discovery/gce/GceUnicastHostsProvider.java b/src/main/java/org/elasticsearch/discovery/gce/GceUnicastHostsProvider.java index bb73c8ff015..b163a88fe85 100644 --- a/src/main/java/org/elasticsearch/discovery/gce/GceUnicastHostsProvider.java +++ b/src/main/java/org/elasticsearch/discovery/gce/GceUnicastHostsProvider.java @@ -105,7 +105,7 @@ public class GceUnicastHostsProvider extends AbstractComponent implements Unicas } lastRefresh = System.currentTimeMillis(); } - logger.info("start building nodes list using GCE API"); + logger.debug("start building nodes list using GCE API"); cachedDiscoNodes = Lists.newArrayList(); String ipAddress = null; @@ -236,7 +236,7 @@ public class GceUnicastHostsProvider extends AbstractComponent implements Unicas logger.trace("Exception caught during discovery", e); } - logger.info("{} node(s) added", cachedDiscoNodes.size()); + logger.debug("{} node(s) added", cachedDiscoNodes.size()); logger.debug("using dynamic discovery nodes {}", cachedDiscoNodes); return cachedDiscoNodes;