You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/debian/patches/upstream/0002-db_mysql-switch-warn-t...

27 lines
962 B

From: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Wed, 19 Jun 2024 15:00:12 +0200
Subject: db_mysql: switch warn to dbg for log messages for opt_ssl_ca option
fixes #3884
(cherry picked from commit be5172a84b02a1ab4fc7e97e7dc0813056302bdd)
---
src/modules/db_mysql/km_my_con.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 50e3375..240d3f5 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -184,8 +184,8 @@ struct my_con *db_mysql_new_connection(const struct db_id *id)
mysql_options(
ptr->con, MYSQL_OPT_SSL_CA, (const void *)db_mysql_opt_ssl_ca);
#else
- LM_WARN("opt_ssl_ca option not supported by mysql version (value %s) - "
- "ignoring\n",
+ LM_DBG("opt_ssl_ca option not supported by mysql version (value %s) - "
+ "ignoring\n",
db_mysql_opt_ssl_ca);
#endif /* MYSQL_OPT_SSL_CA */