Module: kamailio
Branch: master
Commit: 8f98317e92da61160a1c416e0da45938a205d358
URL:
https://github.com/kamailio/kamailio/commit/8f98317e92da61160a1c416e0da4593…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-06-19T10:44:29+02:00
db_mysql: switch warn to dbg for log messages for opt_ssl_mode
- GH #3884
---
Modified: src/modules/db_mysql/km_my_con.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8f98317e92da61160a1c416e0da4593…
Patch:
https://github.com/kamailio/kamailio/commit/8f98317e92da61160a1c416e0da4593…
---
diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 561a0037223..50e3375a11d 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -143,7 +143,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id)
#if MYSQL_VERSION_ID >= 100339
mysql_options(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1});
#else
- LM_WARN("ssl mode not supported by %s\n", MARIADB_BASE_VERSION);
+ LM_DBG("ssl mode not supported by %s\n", MARIADB_BASE_VERSION);
#endif
break;
case 5: /* SSL_MODE_VERIFY_IDENTITY */
@@ -151,7 +151,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id)
(void *)&(int){1});
break;
default:
- LM_WARN("opt_ssl_mode = %d not supported by MariaDB Connector/C\n",
+ LM_DBG("opt_ssl_mode = %d not supported by MariaDB Connector/C\n",
db_mysql_opt_ssl_mode);
break;
}