From 69dc9814bca51e42d20e89d0a5b416c682257055 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 29 Nov 2023 10:54:40 +0100 Subject: [PATCH] write_log plugin: remove the "write_log values:" line when logging metrics. --- src/write_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.2