From: Brian Kelly Date: Fri, 17 Jul 2015 13:22:27 +0000 (-0400) Subject: write_redis plugin: Improve ZREMRANGEBYRANK command debug message X-Git-Tag: collectd-5.6.0~586 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=49001de200384723e3524ae652df8201fe87218a;p=collectd.git write_redis plugin: Improve ZREMRANGEBYRANK command debug message --- 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); }