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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb728bd07a1bb1978ca57ce18c07f76e83f5cbf6;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 3e143168e..c47764480 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 */