]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
write_log plugin: remove the "write_log values:" line when logging metrics. 4175/head
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 09:54:40 +0000 (10:54 +0100)
src/write_log.c

index 6d40e8288a66bcc1946da16f25feefb263d4628b..31183ebbf5d4e79c10301cca72f85ac34149c340 100644 (file)
@@ -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);