From 99280188e82bab3355f1c6a154775ec21802b04c Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Sat, 9 Mar 2024 17:40:43 +0100 Subject: [PATCH] Demote log statement to trace It is known to overflow logs and cause high cpu usage. We don't know why it appeared so late though, as it worked for years without issues. --- .../faforever/iceadapter/ice/PeerConnectivityCheckerModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ice-adapter/src/main/java/com/faforever/iceadapter/ice/PeerConnectivityCheckerModule.java b/ice-adapter/src/main/java/com/faforever/iceadapter/ice/PeerConnectivityCheckerModule.java index 9ee3a9a..4220eeb 100644 --- a/ice-adapter/src/main/java/com/faforever/iceadapter/ice/PeerConnectivityCheckerModule.java +++ b/ice-adapter/src/main/java/com/faforever/iceadapter/ice/PeerConnectivityCheckerModule.java @@ -69,7 +69,7 @@ synchronized void stop() { */ void echoReceived(byte[] data, int offset, int length) { if (length != 9) { - log.warn("Received echo of wrong length, length: {}", length); + log.trace("Received echo of wrong length, length: {}", length); } int rtt = (int) (System.currentTimeMillis() - Longs.fromByteArray(Arrays.copyOfRange(data, offset + 1, length)));