]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
write_log plugin: remove the "write_log values:" line when logging metrics.
authorFlorian Forster <octo@collectd.org>
Wed, 29 Nov 2023 09:54:40 +0000 (10:54 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 29 Nov 2023 13:26:08 +0000 (14:26 +0100)
src/write_log.c

index 3e143168e8746b938a217bed7bb38d3a36b50cc4..c47764480fae2254c52fffd4ec00204337cfc5b5 100644 (file)
@@ -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 */