mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
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)) {
|
if (node.equals(localNode)) {
|
||||||
return localNode;
|
return localNode;
|
||||||
}
|
}
|
||||||
logger.trace("connecting with node [{}] to perform handshake", node);
|
|
||||||
transport.connectToNode(node, ConnectionProfile.LIGHT_PROFILE);
|
transport.connectToNode(node, ConnectionProfile.LIGHT_PROFILE);
|
||||||
try {
|
try {
|
||||||
return handshake(node, handshakeTimeout, checkClusterName);
|
return handshake(node, handshakeTimeout, checkClusterName);
|
||||||
} catch (ConnectTransportException | IllegalStateException e) {
|
} catch (ConnectTransportException | IllegalStateException e) {
|
||||||
logger.trace((Supplier<?>) () -> new ParameterizedMessage("disconnecting from node [{}] after failed handshake", node), e);
|
|
||||||
transport.disconnectFromNode(node);
|
transport.disconnectFromNode(node);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user