Skip to content

Commit

Permalink
add debug ctx
Browse files Browse the repository at this point in the history
Signed-off-by: AdheipSingh <[email protected]>
  • Loading branch information
AdheipSingh committed Dec 4, 2024
1 parent f13ab68 commit 9c1725b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/out_parseable/parseable.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ static int cb_parseable_init(struct flb_output_instance *ins,
}

flb_plg_info(ctx->ins, "Configured port: %d", ctx->port);
flb_plg_info(ctx->ins, "Configured server: %d", ctx->server);
flb_plg_info(ctx->ins, "Configured username: %d", ctx->username);
flb_plg_info(ctx->ins, "Configured password: %d", ctx->password);
flb_plg_info(ctx->ins, "Configured exclude_namespaces: %d", ctx->exclude_namespaces);
flb_plg_info(ctx->ins, "Configured stream: %d", ctx->stream);

ctx->upstream = flb_upstream_create(config,
ctx->server,
Expand Down

0 comments on commit 9c1725b

Please sign in to comment.