[TEST] Log if we use transport client in trace mode

This commit is contained in:
Simon Willnauer 2014-09-15 15:42:34 +02:00
parent d228606bab
commit 509f71cd55
1 changed files with 2 additions and 2 deletions

View File

@ -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 {