From: Florian Forster Date: Wed, 29 Nov 2023 09:54:40 +0000 (+0100) Subject: write_log plugin: remove the "write_log values:" line when logging metrics. X-Git-Tag: 6.0.0-rc0~45^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69dc9814bca51e42d20e89d0a5b416c682257055;p=thirdparty%2Fcollectd.git write_log plugin: remove the "write_log values:" line when logging metrics. --- diff --git a/src/write_log.c b/src/write_log.c index 6d40e8288..31183ebbf 100644 --- a/src/write_log.c +++ b/src/write_log.c @@ -56,7 +56,7 @@ static int wl_write_graphite(metric_family_t const *fam) { if (status != 0) { ERROR("write_log plugin: format_graphite failed: %d", status); } else { - INFO("write_log values:\n%s", buf.ptr); + INFO("%s", buf.ptr); } strbuf_reset(&buf); @@ -73,7 +73,7 @@ static int wl_write_json(metric_family_t const *fam) { if (status != 0) { ERROR("write_log plugin: format_json_metric_family failed: %d", status); } else { - INFO("write_log values:\n%s", buf.ptr); + INFO("%s", buf.ptr); } STRBUF_DESTROY(buf);