Skip to content

Commit bd1a433

Browse files
committed
engine: Display the current maxstdio value on debug level log
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent beff608 commit bd1a433

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/flb_engine.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,9 @@ int flb_engine_start(struct flb_config *config)
754754
flb_info("[fluent bit] version=%s, commit=%.10s, pid=%i",
755755
FLB_VERSION_STR, FLB_GIT_HASH, getpid());
756756

757+
#ifdef FLB_SYSTEM_WINDOWS
758+
flb_debug("[engine] maxstdio set: %d", _getmaxstdio());
759+
#endif
757760
/* Debug coroutine stack size */
758761
flb_utils_bytes_to_human_readable_size(config->coro_stack_size,
759762
tmp, sizeof(tmp));

0 commit comments

Comments
 (0)