Skip to content

Commit

Permalink
Moving log level to debug
Browse files Browse the repository at this point in the history
We don't want to have too much INFO log level. So we move some parts to log.debug.

Closes #4.
  • Loading branch information
dadoonet committed Jul 23, 2013
1 parent 27521f6 commit 615b1f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public List<DiscoveryNode> buildDynamicNodes() {
}
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;
Expand Down Expand Up @@ -236,7 +236,7 @@ public List<DiscoveryNode> buildDynamicNodes() {
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;
Expand Down

0 comments on commit 615b1f6

Please sign in to comment.