diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/MainEventHandler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java index 2ba7e2af2..81d19ef01 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -87,7 +87,9 @@ public class MainEventHandler extends ChannelInboundHandlerAdapter { @Override public void channelActive(ChannelHandlerContext ctx) throws Exception { - LOGGER.info(formatChannel(ctx.channel()) + " connected"); + if (!(ctx.channel() instanceof DatagramChannel)) { + LOGGER.info(formatChannel(ctx.channel()) + " connected"); + } } @Override |