[sr-dev] git:5.4:46349856: ndb_redis: set message level to debug on exec
Victor Seva
linuxmaniac at torreviejawireless.org
Wed Sep 23 09:04:08 CEST 2020
Module: kamailio
Branch: 5.4
Commit: 463498565029aced931b44fd686f5c9d15b49341
URL: https://github.com/kamailio/kamailio/commit/463498565029aced931b44fd686f5c9d15b49341
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2020-09-23T09:03:52+02:00
ndb_redis: set message level to debug on exec
* logging error makes no sense here since there's going
to be a reconnection afterwards
> ERROR: ndb_redis [redis_client.c:903]: redisc_exec_argv(): Redis error: Server closed the connection
(cherry picked from commit a9c331d70dbed6827874aa99296203ac5a9d5c7b)
---
Modified: src/modules/ndb_redis/redis_client.c
---
Diff: https://github.com/kamailio/kamailio/commit/463498565029aced931b44fd686f5c9d15b49341.diff
Patch: https://github.com/kamailio/kamailio/commit/463498565029aced931b44fd686f5c9d15b49341.patch
---
diff --git a/src/modules/ndb_redis/redis_client.c b/src/modules/ndb_redis/redis_client.c
index 5ad063f89a..bd97012c8e 100644
--- a/src/modules/ndb_redis/redis_client.c
+++ b/src/modules/ndb_redis/redis_client.c
@@ -770,7 +770,7 @@ int redisc_exec_pipelined(redisc_server_t *rsrv)
/* null reply, reconnect and try again */
if (rsrv->ctxRedis->err)
{
- LM_ERR("Redis error: %s\n", rsrv->ctxRedis->errstr);
+ LM_DBG("Redis error: %s\n", rsrv->ctxRedis->errstr);
}
if (redisc_create_pipelined_message(rsrv) == 0)
{
More information about the sr-dev
mailing list