Commit 4b8f2859 authored by Magnus Hagander's avatar Magnus Hagander

Adjust the SSL connection notification message

Suggested by Tom
parent 5254958e
...@@ -234,7 +234,7 @@ PerformAuthentication(Port *port) ...@@ -234,7 +234,7 @@ PerformAuthentication(Port *port)
#ifdef USE_SSL #ifdef USE_SSL
if (port->ssl) if (port->ssl)
ereport(LOG, ereport(LOG,
(errmsg("replication connection authorized: user=%s SSL(protocol: %s, cipher: %s) enabled", (errmsg("replication connection authorized: user=%s SSL enabled (protocol=%s, cipher=%s)",
port->user_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl)))); port->user_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl))));
else else
#endif #endif
...@@ -247,7 +247,7 @@ PerformAuthentication(Port *port) ...@@ -247,7 +247,7 @@ PerformAuthentication(Port *port)
#ifdef USE_SSL #ifdef USE_SSL
if (port->ssl) if (port->ssl)
ereport(LOG, ereport(LOG,
(errmsg("connection authorized: user=%s database=%s SSL(protocol: %s, cipher: %s) enabled", (errmsg("connection authorized: user=%s database=%s SSL enabled (protocol=%s, cipher=%s)",
port->user_name, port->database_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl)))); port->user_name, port->database_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl))));
else else
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment