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:
parent
761325bf94
commit
92f05e796e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue