From 509f71cd5535c9879f40991a8793f45c3f8fd166 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 15 Sep 2014 15:42:34 +0200 Subject: [PATCH] [TEST] Log if we use transport client in trace mode --- src/test/java/org/elasticsearch/test/InternalTestCluster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/test/InternalTestCluster.java b/src/test/java/org/elasticsearch/test/InternalTestCluster.java index 9fa8a38b1a3..24fd3b8a58f 100644 --- a/src/test/java/org/elasticsearch/test/InternalTestCluster.java +++ b/src/test/java/org/elasticsearch/test/InternalTestCluster.java @@ -710,8 +710,8 @@ public final class InternalTestCluster extends TestCluster { } double nextDouble = random.nextDouble(); if (nextDouble < transportClientRatio) { - if (logger.isDebugEnabled()) { - logger.debug("Using transport client for node [{}] sniff: [{}]", node.settings().get("name"), false); + if (logger.isTraceEnabled()) { + logger.trace("Using transport client for node [{}] sniff: [{}]", node.settings().get("name"), false); } return getOrBuildTransportClient(); } else {