Skip to content

Commit

Permalink
out_kinesis_streams: add debug message to check batching
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Pettit <wppttt@amazon.com>
  • Loading branch information
PettitWesley authored and edsiper committed May 11, 2022
1 parent da44c47 commit 99dcefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_kinesis_streams/kinesis_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ static int send_log_events(struct flb_kinesis *ctx, struct flush *buf) {
flb_plg_error(ctx->ins, "Could not complete PutRecords payload");
return -1;
}
flb_plg_debug(ctx->ins, "Sending %d records", i);
flb_plg_debug(ctx->ins, "kinesis:PutRecords: events=%d, payload=%d bytes", i, offset);
ret = put_records(ctx, buf, (size_t) offset, i);
if (ret < 0) {
flb_plg_error(ctx->ins, "Failed to send log records");
Expand Down

0 comments on commit 99dcefe

Please sign in to comment.