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); }