mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-16 12:08:24 +08:00
update 打印日志
This commit is contained in:
@@ -198,7 +198,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
|
|||||||
if (log.isTraceEnabled()) {
|
if (log.isTraceEnabled()) {
|
||||||
log.trace("Connection timeout 【{}】", ctx.channel().remoteAddress());
|
log.trace("Connection timeout 【{}】", ctx.channel().remoteAddress());
|
||||||
}
|
}
|
||||||
log.info("【{}】发生了错误, 此连接被关闭, 此时连通数量: {}", channelId, CHANNEL_MAP.size());
|
log.error("【{}】发生了错误, pileSn:【{}】此连接被关闭, 此时连通数量: {}", channelId, pileSn, CHANNEL_MAP.size());
|
||||||
ctx.channel().close();
|
ctx.channel().close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user