diff options
author | Anton Tananaev <anton@traccar.org> | 2023-12-28 08:44:32 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-12-28 08:44:32 -0800 |
commit | 293a3dbf93b0d1924ecb96f8a3b11b65fbaa4248 (patch) | |
tree | 46db6168ee425861a27a7e2fd895a23bcd5fb9c5 /src/main/java/org/traccar/handler | |
parent | f37734db8425e5a1c660d554a6f3bf56af1c2bca (diff) | |
download | trackermap-server-293a3dbf93b0d1924ecb96f8a3b11b65fbaa4248.tar.gz trackermap-server-293a3dbf93b0d1924ecb96f8a3b11b65fbaa4248.tar.bz2 trackermap-server-293a3dbf93b0d1924ecb96f8a3b11b65fbaa4248.zip |
Show protocol instead of port
Diffstat (limited to 'src/main/java/org/traccar/handler')
-rw-r--r-- | src/main/java/org/traccar/handler/StandardLoggingHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/handler/StandardLoggingHandler.java b/src/main/java/org/traccar/handler/StandardLoggingHandler.java index b495747d3..5978d632e 100644 --- a/src/main/java/org/traccar/handler/StandardLoggingHandler.java +++ b/src/main/java/org/traccar/handler/StandardLoggingHandler.java @@ -68,6 +68,7 @@ public class StandardLoggingHandler extends ChannelDuplexHandler { if (networkMessage.getMessage() instanceof ByteBuf) { LogRecord record = new LogRecord(); record.setAddress((InetSocketAddress) networkMessage.getRemoteAddress()); + record.setProtocol(protocol); record.setData(ByteBufUtil.hexDump((ByteBuf) networkMessage.getMessage())); return record; } |