]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: Log all SSL info lines with debug-level.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 28 Feb 2016 17:51:54 +0000 (19:51 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 28 Feb 2016 17:51:54 +0000 (19:51 +0200)
They're not logged at all if verbose=FALSE, so they're really debug messages.

src/lib-ssl-iostream/iostream-openssl.c

index df89a96d1865f3ed1b822ab99fa66599f8d8cbd2..5e61bcae40ba36312a328ed1e405614c3b18d382 100644 (file)
@@ -29,15 +29,15 @@ static void openssl_info_callback(const SSL *ssl, int where, int ret)
                                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,