Skip to content

Commit

Permalink
Change logging to TRACE when failing to get peer certificates
Browse files Browse the repository at this point in the history
Patch by Mohammad Aburadeh; reviewed by brandonwilliams and jonmeredith
for CASSANDRA-19508
  • Loading branch information
mohammad-aburadeh authored and driftx committed Apr 4, 2024
1 parent f0aa674 commit 6a640b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
@@ -1,4 +1,5 @@
4.0.13
* Change logging to TRACE when failing to get peer certificate (CASSANDRA-19508)
* Push LocalSessions info logs to debug (CASSANDRA-18335)
* Filter remote DC replicas out when constructing the initial replica plan for the local read repair (CASSANDRA-19120)
* Remove redundant code in StorageProxy#sendToHintedReplicas (CASSANDRA-19412)
Expand Down
Expand Up @@ -137,7 +137,8 @@ private X509Certificate[] certificates()
}
catch (SSLPeerUnverifiedException e)
{
logger.debug("Failed to get peer certificates for peer {}", channel().remoteAddress(), e);
if (logger.isTraceEnabled())
logger.trace("Failed to get peer certificates for peer {}", channel().remoteAddress(), e);
}
}
return certificates;
Expand Down

0 comments on commit 6a640b0

Please sign in to comment.