Skip to content

Commit 6dd3e44

Browse files
committed
chore[net]: log level
1 parent acff30e commit 6dd3e44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

net/src/main/java/com/zfoo/net/core/proxy/handler/TunnelClientRouteHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
4747
super.channelInactive(ctx);
4848
var session = SessionUtils.getSession(ctx);
4949
TunnelClient.tunnels.remove(ctx.channel());
50-
logger.info("tunnel client inactivate in sid:[{}]", session.getSid());
50+
logger.warn("tunnel client inactivate in sid:[{}]", session.getSid());
5151
}
5252

5353
@Override

net/src/main/java/com/zfoo/net/handler/ServerRouteHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
4949
return;
5050
}
5151
NetContext.getSessionManager().removeServerSession(session);
52-
logger.warn("server channel is inactive {}", SessionUtils.sessionSimpleInfo(ctx));
52+
logger.info("server channel is inactive {}", SessionUtils.sessionSimpleInfo(ctx));
5353
EventBus.post(ServerSessionInactiveEvent.valueOf(session));
5454
}
5555
}

0 commit comments

Comments
 (0)