Skip to content

Commit

Permalink
Demote log statement to trace
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Brutus5000 committed Mar 9, 2024
1 parent e4ba1b9 commit 9928018
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit 9928018

Please sign in to comment.