diff --git a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java index 04dcb8f1..de157746 100644 --- a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java +++ b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java @@ -56,6 +56,9 @@ public class D331RtcmMessageExecutor implements Executor if(deviceId.equals("2419385")){ DeviceChannel channel = OnlineChannels.INSTANCE.getConfigChannel(deviceId); if(channel != null && channel.isOnline()){ + if (logger.isDebugEnabled()) { + logger.debug("forward d331 rtcm message to device {} tcp", deviceId); + } ByteBuf buf = Unpooled.buffer(); buf.writeBytes(forwardBytes); channel.writeAndFlush(buf);