From eb728bd07a1bb1978ca57ce18c07f76e83f5cbf6 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 3e143168e8..c47764480f 100644 --- a/src/write_log.c +++ b/src/write_log.c @@ -56,7 +56,7 @@ static int wl_write_graphite(const data_set_t *ds, const value_list_t *vl) { if (status != 0) /* error message has been printed already. */ return status; - INFO("write_log values:\n%s", buffer); + INFO("%s", buffer); return 0; } /* int wl_write_graphite */ @@ -76,7 +76,7 @@ static int wl_write_json(const data_set_t *ds, const value_list_t *vl) { /* store rates = */ 0); format_json_finalize(buffer, &bfill, &bfree); - INFO("write_log values:\n%s", buffer); + INFO("%s", buffer); return 0; } /* int wl_write_json */