projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
860bf13
)
write_redis plugin: Improve ZREMRANGEBYRANK command debug message
author
Brian Kelly
<brianpkelly46@gmail.com>
Fri, 17 Jul 2015 13:22:27 +0000
(09:22 -0400)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 27 Oct 2015 23:04:02 +0000
(
00:04
+0100)
src/write_redis.c
patch
|
blob
|
history
diff --git
a/src/write_redis.c
b/src/write_redis.c
index
eb4e2c5
..
fe8994d
100644
(file)
--- 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);
}