aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/GenericPipelineFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/GenericPipelineFactory.java b/src/org/traccar/GenericPipelineFactory.java
index db3c378ba..521b8bc74 100644
--- a/src/org/traccar/GenericPipelineFactory.java
+++ b/src/org/traccar/GenericPipelineFactory.java
@@ -59,7 +59,7 @@ public abstract class GenericPipelineFactory implements ChannelPipelineFactory {
@Override
public void log(ChannelEvent e) {
- server.mandaMSG();
+
if (e instanceof MessageEvent) {
MessageEvent event = (MessageEvent) e;
String msg = "[" + ((InetSocketAddress) e.getChannel().getLocalAddress()).getPort() + " - ";