From: Magnus Hagander Date: Sun, 19 Jan 2014 12:27:22 +0000 (+0100) Subject: Adjust the SSL connection notification message X-Git-Tag: REL9_4_BETA1~656 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b8f2859ccc4fe1e9b66fbdb332b830b69a9d6cf;p=postgresql Adjust the SSL connection notification message Suggested by Tom --- diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 258108165f..3ecc4d3ae0 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -234,7 +234,7 @@ PerformAuthentication(Port *port) #ifdef USE_SSL if (port->ssl) 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)))); else #endif @@ -247,7 +247,7 @@ PerformAuthentication(Port *port) #ifdef USE_SSL if (port->ssl) 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)))); else #endif