Skip to content

Commit 7e4f8cf

Browse files
authored
Lower log level when no connection (#14800)
* Lower log level when no connection * Fix style
1 parent 6691aa4 commit 7e4f8cf

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport

dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,7 @@ public void connected(Channel ch) throws RemotingException {
198198
@Override
199199
public void disconnected(Channel ch) throws RemotingException {
200200
if (getChannelsSize() == 0) {
201-
logger.warn(
202-
INTERNAL_ERROR,
203-
"unknown error in remoting module",
204-
"",
201+
logger.info(
205202
"All clients has disconnected from " + ch.getLocalAddress() + ". You can graceful shutdown now.");
206203
}
207204
super.disconnected(ch);

0 commit comments

Comments
 (0)