Log client address when detecting unknown exception in client networking

Patch by Mohammad Aburadeh, reviewed by brandonwilliams and smiklosovic
for CASSANDRA-20072
This commit is contained in:
Mohammad Aburadeh 2024-11-10 14:18:09 +00:00 committed by Brandon Williams
parent 7ba691e3d3
commit 0b3c26ab05
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class ExceptionHandlers
else
{
ClientMetrics.instance.markUnknownException();
logger.warn("Unknown exception in client networking", cause);
logger.warn("Unknown exception in client networking with peer {} {}", ctx.channel().remoteAddress(), cause.getMessage());
}
}