Skip to content

Commit

Permalink
write_log plugin: remove the "write_log values:" line when logging me…
Browse files Browse the repository at this point in the history
…trics.
  • Loading branch information
octo committed Nov 29, 2023
1 parent 01a709d commit eb728bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/write_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand Down

0 comments on commit eb728bd

Please sign in to comment.