[TEST] Log if we use transport client in trace mode
This commit is contained in:
parent
d228606bab
commit
509f71cd55
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue