Skip to content

Commit

Permalink
Use security trace category for SSL connection tracing (#3438)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone authored Jan 29, 2025
1 parent c8e6761 commit e10e076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/Ice/SSL/OpenSSLTransceiverI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ OpenSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::

if (_engine->securityTraceLevel() >= 1)
{
Trace out(_instance->logger(), _instance->traceCategory());
Trace out(_instance->logger(), _engine->securityTraceCategory());
out << "SSL summary for " << (_incoming ? "incoming" : "outgoing") << " connection\n";

const SSL_CIPHER* cipher = SSL_get_current_cipher(_ssl);
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/Ice/SSL/SecureTransportTransceiverI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Ice::SSL::SecureTransport::TransceiverI::initialize(IceInternal::Buffer& readBuf

if (_instance->engine()->securityTraceLevel() >= 1)
{
Trace out(_instance->logger(), _instance->traceCategory());
Trace out(_instance->logger(), _engine->securityTraceCategory());
out << "SSL summary for " << (_incoming ? "incoming" : "outgoing") << " connection\n";

SSLProtocol protocol;
Expand Down

0 comments on commit e10e076

Please sign in to comment.