From 49001de200384723e3524ae652df8201fe87218a Mon Sep 17 00:00:00 2001 From: Brian Kelly Date: Fri, 17 Jul 2015 09:22:27 -0400 Subject: [PATCH] write_redis plugin: Improve ZREMRANGEBYRANK command debug message --- src/write_redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write_redis.c b/src/write_redis.c index eb4e2c59..fe8994d5 100644 --- a/src/write_redis.c +++ b/src/write_redis.c @@ -124,7 +124,7 @@ static int wr_write (const data_set_t *ds, /* {{{ */ { rr = redisCommand (node->conn, "ZREMRANGEBYRANK %s %d %d", key, 0, (-1 * node->max_set_size) - 1); if (rr == NULL) - WARNING("ZREMRANGEBYRANK command error. database:%d message:%s", node->database, node->conn->errstr); + WARNING("ZREMRANGEBYRANK command error. key:%s message:%s", key, node->conn->errstr); else freeReplyObject (rr); } -- 2.30.2