summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-08-26 11:06:04 +0000
committerArne Juul <arnej@verizonmedia.com>2021-08-26 11:06:04 +0000
commitc99600b4b9e427d5f8081f05c27879f6e5aab87a (patch)
tree9d320dc8688ce09c4cb08769dc53e24bb2a34e6a /vespalib
parent2aea4b1dfb55cd84ba6dad77ede5a89754a0c8cf (diff)
log peer address when debug logging
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.cpp b/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.cpp
index 1d87a50190e..87545c884d1 100644
--- a/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.cpp
+++ b/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.cpp
@@ -369,7 +369,8 @@ HandshakeResult OpenSslCryptoCodecImpl::do_handshake_and_consume_peer_input_byte
LOG(error, "SSL handshake is not completed even though no more peer data is requested");
return handshake_failed();
}
- LOG(debug, "SSL_do_handshake() is complete, using protocol %s", SSL_get_version(_ssl.get()));
+ LOG(debug, "SSL_do_handshake() with %s is complete, using protocol %s",
+ _peer_address.spec().c_str(), SSL_get_version(_ssl.get()));
ConnectionStatistics::get(_mode == Mode::Server).inc_tls_connections();
return handshake_consumed_bytes_and_is_complete(static_cast<size_t>(consumed));
} else {