diff --git a/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/tcp/TcpSocketServer.java b/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/tcp/TcpSocketServer.java index 5e954f0076f84e40bb576153bacc95ff770e6dc4..5173e1202d32231ee96d776557887119f05b8d56 100644 --- a/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/tcp/TcpSocketServer.java +++ b/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/tcp/TcpSocketServer.java @@ -97,7 +97,7 @@ public class TcpSocketServer implements IMServer { // 等待服务端口关闭 //channel.closeFuture().sync(); } catch (InterruptedException e) { - log.info("tcp server 初始化异常",e); + log.error("tcp server 初始化异常",e); } } @@ -110,7 +110,7 @@ public class TcpSocketServer implements IMServer { workGroup.shutdownGracefully(); } this.ready = false; - log.info("tcp server 停止"); + log.error("tcp server 停止"); } diff --git a/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/ws/WebSocketServer.java b/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/ws/WebSocketServer.java index 60d267b0efb82b5a8d328fa6547312290608f1d5..20bb645de37a9d1e2370c76ee91715fa216c182f 100644 --- a/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/ws/WebSocketServer.java +++ b/im-connector/src/main/java/io/pisceshub/muchat/connector/netty/ws/WebSocketServer.java @@ -105,7 +105,7 @@ public class WebSocketServer implements IMServer { // 等待服务端口关闭 //channel.closeFuture().sync(); } catch (InterruptedException e) { - log.info("websocket server 初始化异常",e); + log.error("websocket server 初始化异常",e); } } @@ -118,7 +118,7 @@ public class WebSocketServer implements IMServer { workGroup.shutdownGracefully(); } this.ready = false; - log.info("websocket server 停止"); + log.error("websocket server 停止"); }