update 打印日志

This commit is contained in:
2023-11-06 12:29:26 +08:00
parent 7a047de449
commit 560ab343e5

View File

@@ -198,7 +198,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
if (log.isTraceEnabled()) {
log.trace("Connection timeout 【{}】", ctx.channel().remoteAddress());
}
log.info("【{}】发生了错误, 此连接被关闭, 此时连通数量: {}", channelId, CHANNEL_MAP.size());
log.error("【{}】发生了错误, pileSn:【{}】此连接被关闭, 此时连通数量: {}", channelId, pileSn, CHANNEL_MAP.size());
ctx.channel().close();
}
}