wolfSSL: Downgrade a log message to LOG_LEVEL_CONNECT
authorFabian Keil <fk@fabiankeil.de>
Wed, 3 Apr 2024 18:46:21 +0000 (20:46 +0200)
committerFabian Keil <fk@fabiankeil.de>
Wed, 26 Jun 2024 13:37:48 +0000 (15:37 +0200)
wolfssl.c

index 0204845..7c93444 100644 (file)
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -986,7 +986,7 @@ static void shutdown_connection(WOLFSSL *ssl, const char *type)
    {
       char buffer[80];
       int error = wolfSSL_get_error(ssl, ret);
-      log_error(LOG_LEVEL_ERROR, "Failed to shutdown %s connection "
+      log_error(LOG_LEVEL_CONNECT, "Failed to shutdown %s connection "
          "on socket %d after %d attempts. ret: %d, error: %d, %s",
          type, fd, shutdown_attempts, ret, error,
          wolfSSL_ERR_error_string((unsigned long)error, buffer));