Skip to content

Commit

Permalink
engine: Display the current maxstdio value on debug level log
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Jan 24, 2025
1 parent beff608 commit bd1a433
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flb_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ int flb_engine_start(struct flb_config *config)
flb_info("[fluent bit] version=%s, commit=%.10s, pid=%i",
FLB_VERSION_STR, FLB_GIT_HASH, getpid());

#ifdef FLB_SYSTEM_WINDOWS
flb_debug("[engine] maxstdio set: %d", _getmaxstdio());
#endif
/* Debug coroutine stack size */
flb_utils_bytes_to_human_readable_size(config->coro_stack_size,
tmp, sizeof(tmp));
Expand Down

0 comments on commit bd1a433

Please sign in to comment.