|
@@ -39,7 +39,7 @@ public class ItsAsnServerPacketInboundHandler extends SimpleChannelInboundHandle
|
|
|
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
|
|
|
CenterDto center = ApplicationRepository.getCenterObject(ctx.channel());
|
|
|
if (center == null) {
|
|
|
- log.error("{}.userEventTriggered: Unknown Center: {}.", this.getClass().getSimpleName(), NettyUtils.getAddress(ctx.channel()));
|
|
|
+ log.error("{}.++channelInactive: Unknown Center: {}.", this.getClass().getSimpleName(), NettyUtils.getAddress(ctx.channel()));
|
|
|
return;
|
|
|
}
|
|
|
log.info("{}.++channelInactive: {}. {}.", this.getClass().getSimpleName(), center.getCenterId(), center.getIpAddress());
|
|
@@ -106,7 +106,7 @@ public class ItsAsnServerPacketInboundHandler extends SimpleChannelInboundHandle
|
|
|
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
|
|
|
CenterDto center = ApplicationRepository.getCenterObject(ctx.channel());
|
|
|
if (center != null) {
|
|
|
- log.error("{}.exceptionCaught: {}.", this.getClass().getSimpleName(), center.getCenterId());
|
|
|
+ log.error("{}.++exceptionCaught: {}.", this.getClass().getSimpleName(), center.getCenterId());
|
|
|
}
|
|
|
else {
|
|
|
log.error("{}.++exceptionCaught: {}.", this.getClass().getSimpleName(), NettyUtils.getAddress(ctx.channel()));
|