Remove traces during connect with handshake

This commit removes two trace logging statements during connection with
handshake as they are just clutter.
This commit is contained in:
Jason Tedor 2016-11-30 15:29:33 -05:00
parent 761325bf94
commit 92f05e796e
1 changed files with 0 additions and 2 deletions

View File

@ -334,12 +334,10 @@ public class TransportService extends AbstractLifecycleComponent {
if (node.equals(localNode)) {
return localNode;
}
logger.trace("connecting with node [{}] to perform handshake", node);
transport.connectToNode(node, ConnectionProfile.LIGHT_PROFILE);
try {
return handshake(node, handshakeTimeout, checkClusterName);
} catch (ConnectTransportException | IllegalStateException e) {
logger.trace((Supplier<?>) () -> new ParameterizedMessage("disconnecting from node [{}] after failed handshake", node), e);
transport.disconnectFromNode(node);
throw e;
}