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

(cherry picked from commit a9c331d70dbed6827874aa99296203ac5a9d5c7b)

Victor Seva authored on 23/09/2020 07:01:43 • Henning Westerholt committed on 02/10/2020 16:01:12
Showing 1 changed files
... ...
@@ -691,7 +691,7 @@ int redisc_exec_pipelined(redisc_server_t *rsrv)
691 691
 		/* null reply, reconnect and try again */
692 692
 		if (rsrv->ctxRedis->err)
693 693
 		{
694
-			LM_ERR("Redis error: %s\n", rsrv->ctxRedis->errstr);
694
+			LM_DBG("Redis error: %s\n", rsrv->ctxRedis->errstr);
695 695
 		}
696 696
 		if (redisc_create_pipelined_message(rsrv) == 0)
697 697
 		{