diff options
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 585f3e273..e5015ea9e 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -66,7 +66,8 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { MessageEvent event = (MessageEvent) e; StringBuilder msg = new StringBuilder(); - msg.append("[").append(((InetSocketAddress) e.getChannel().getLocalAddress()).getPort()); + msg.append("[").append(e.getChannel().getId()).append(" : "); + msg.append(((InetSocketAddress) e.getChannel().getLocalAddress()).getPort()); msg.append((e instanceof DownstreamMessageEvent) ? " -> " : " <- "); msg.append(((InetSocketAddress) event.getRemoteAddress()).getAddress().getHostAddress()).append("]"); |