This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new 7e4f8cf080 Lower log level when no connection (#14800)
7e4f8cf080 is described below

commit 7e4f8cf08067ca09d6e804e58287b71d4a8100e7
Author: Albumen Kevin <[email protected]>
AuthorDate: Thu Oct 24 16:41:19 2024 +0800

    Lower log level when no connection (#14800)
    
    * Lower log level when no connection
    
    * Fix style
---
 .../java/org/apache/dubbo/remoting/transport/AbstractServer.java     | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java
 
b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java
index bb50ddc304..23fe8cf92d 100644
--- 
a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java
+++ 
b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java
@@ -198,10 +198,7 @@ public abstract class AbstractServer extends 
AbstractEndpoint implements Remotin
     @Override
     public void disconnected(Channel ch) throws RemotingException {
         if (getChannelsSize() == 0) {
-            logger.warn(
-                    INTERNAL_ERROR,
-                    "unknown error in remoting module",
-                    "",
+            logger.info(
                     "All clients has disconnected from " + 
ch.getLocalAddress() + ". You can graceful shutdown now.");
         }
         super.disconnected(ch);

Reply via email to