From 76c954077e7e8da1556028d7b9746248b05f6080 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 3 Dec 2021 11:57:48 +0100 Subject: [PATCH] Removed unnecessary logging; fixes gh-2069 --- .../cloud/sleuth/instrument/jdbc/TraceListenerStrategy.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/jdbc/TraceListenerStrategy.java b/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/jdbc/TraceListenerStrategy.java index a57266728..605b510b5 100644 --- a/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/jdbc/TraceListenerStrategy.java +++ b/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/jdbc/TraceListenerStrategy.java @@ -128,9 +128,7 @@ class TraceListenerStrategy { 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());