From a9db42a7cefa4614c54c5b68e44f56c11d977b45 Mon Sep 17 00:00:00 2001 From: chickenlj Date: Wed, 25 Sep 2024 19:52:28 +0800 Subject: [PATCH] polish warning log format --- .../remoting/api/connection/AbstractConnectionClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/connection/AbstractConnectionClient.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/connection/AbstractConnectionClient.java index 4636f98d3eb..f1c78ce6e3d 100644 --- a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/connection/AbstractConnectionClient.java +++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/connection/AbstractConnectionClient.java @@ -69,9 +69,9 @@ public final boolean retain() { PROTOCOL_ERROR_CLOSE_CLIENT, "", "", - "Retain failed, because connection {} has been destroyed but not yet removed, will create a new one instead." - + " Check logs below to confirm that this connection finally gets removed to make sure there's no potential memory leak!", - remote); + "Retain failed, because connection " + remote + + " has been destroyed but not yet removed, will create a new one instead." + + " Check logs below to confirm that this connection finally gets removed to make sure there's no potential memory leak!"); return false; } return true;