Browse code

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

Victor Seva authored on 23/09/2020 07:01:43
Showing 1 changed files
... ...
@@ -770,7 +770,7 @@ int redisc_exec_pipelined(redisc_server_t *rsrv)
770 770
 		/* null reply, reconnect and try again */
771 771
 		if (rsrv->ctxRedis->err)
772 772
 		{
773
-			LM_ERR("Redis error: %s\n", rsrv->ctxRedis->errstr);
773
+			LM_DBG("Redis error: %s\n", rsrv->ctxRedis->errstr);
774 774
 		}
775 775
 		if (redisc_create_pipelined_message(rsrv) == 0)
776 776
 		{