From: Florian Forster Date: Wed, 27 May 2009 09:42:47 +0000 (+0200) Subject: rrdtool plugin: If `flush' cannot find the requested file, issue an `INFO'. X-Git-Tag: collectd-4.6.3~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0171b227b670c7ca338b26bfaff303fd7cf2d023;p=collectd.git rrdtool plugin: If `flush' cannot find the requested file, issue an `INFO'. ... and not a `WARNING' - this may happen under perfectly fine conditions. (I. e. file exists but isn't updated anymore.) --- diff --git a/src/rrdtool.c b/src/rrdtool.c index a205ef2c..ef1b25cd 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -599,7 +599,7 @@ static int rrd_cache_flush_identifier (int timeout, const char *identifier) status = c_avl_get (cache, key, (void *) &rc); if (status != 0) { - WARNING ("rrdtool plugin: rrd_cache_flush_identifier: " + INFO ("rrdtool plugin: rrd_cache_flush_identifier: " "c_avl_get (%s) failed. Does that file really exist?", key); return (status);