Skip to content

Commit

Permalink
ndb_redis: set message level to debug on exec
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
linuxmaniac committed Sep 23, 2020
1 parent 92cfb5e commit a9c331d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ndb_redis/redis_client.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit a9c331d

Please sign in to comment.