Mercurial > dovecot > core-2.2
changeset 19879:ea145b3d31bf
lib-ssl-iostream: Log all SSL info lines with debug-level.
They're not logged at all if verbose=FALSE, so they're really debug messages.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 28 Feb 2016 19:51:54 +0200 |
parents | 35af085fea50 |
children | c37bf0f5ea22 |
files | src/lib-ssl-iostream/iostream-openssl.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-ssl-iostream/iostream-openssl.c Sat Feb 27 11:36:29 2016 +0200 +++ b/src/lib-ssl-iostream/iostream-openssl.c Sun Feb 28 19:51:54 2016 +0200 @@ -29,15 +29,15 @@ SSL_alert_desc_string_long(ret)); break; default: - i_warning("%sSSL alert: where=0x%x, ret=%d: %s %s", - ssl_io->log_prefix, where, ret, - SSL_alert_type_string_long(ret), - SSL_alert_desc_string_long(ret)); + i_debug("%sSSL alert: where=0x%x, ret=%d: %s %s", + ssl_io->log_prefix, where, ret, + SSL_alert_type_string_long(ret), + SSL_alert_desc_string_long(ret)); break; } } else if (ret == 0) { - i_warning("%sSSL failed: where=0x%x: %s", - ssl_io->log_prefix, where, SSL_state_string_long(ssl)); + i_debug("%sSSL failed: where=0x%x: %s", + ssl_io->log_prefix, where, SSL_state_string_long(ssl)); } else { i_debug("%sSSL: where=0x%x, ret=%d: %s", ssl_io->log_prefix, where, ret,