Removed unnecessary logging; fixes gh-2069

This commit is contained in:
Marcin Grzejszczak
2021-12-03 11:57:48 +01:00
parent 52dba429d7
commit 76c954077e

View File

@@ -128,9 +128,7 @@ class TraceListenerStrategy<CON, STMT, RS> {
ConnectionInfo connectionInfo = this.openConnections.get(connectionKey);
SpanAndScope connectionSpan = connectionInfo.span;
if (connection != null) {
log.info("TODO before removeServiceName=" + connectionInfo.remoteServiceName);
parseAndSetServerIpAndPort(connectionInfo, connection, dataSourceName);
log.info("TODO after removeServiceName=" + connectionInfo.remoteServiceName);
if (connectionSpan != null) {
connectionSpan.getSpan().remoteServiceName(connectionInfo.remoteServiceName);
connectionSpan.getSpan().remoteIpAndPort(connectionInfo.url.getHost(), connectionInfo.url.getPort());