浏览代码

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 5 年之前
父节点
当前提交
a9c331d70d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/ndb_redis/redis_client.c

+ 1 - 1
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)
 		{