From 86debf1f1be4ff0b3149646a55a374388d567e27 Mon Sep 17 00:00:00 2001 From: braydonk Date: Tue, 28 Nov 2023 00:10:47 +0000 Subject: [PATCH] out_stackdriver: test format newline When testing the log entry format, we need to be printing a newline. Signed-off-by: braydonk --- plugins/out_stackdriver/stackdriver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/out_stackdriver/stackdriver.c b/plugins/out_stackdriver/stackdriver.c index 5c0a2cf8647..a61977f9ad1 100644 --- a/plugins/out_stackdriver/stackdriver.c +++ b/plugins/out_stackdriver/stackdriver.c @@ -2764,7 +2764,7 @@ static void cb_stackdriver_flush(struct flb_event_chunk *event_chunk, } if (ctx->test_log_entry_format) { - printf("%s", payload_buf); + printf("%s\n", payload_buf); flb_sds_destroy(payload_buf); FLB_OUTPUT_RETURN(FLB_OK); }