Skip to content

Commit 1d68dfc

Browse files
cosmo0920edsiper
authored andcommitted
engine: Display the current maxstdio value on debug level log
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 77dbf4a commit 1d68dfc

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
@@ -763,6 +763,9 @@ int flb_engine_start(struct flb_config *config)
763763
flb_info("[fluent bit] version=%s, commit=%.10s, pid=%i",
764764
FLB_VERSION_STR, FLB_GIT_HASH, getpid());
765765

766+
#ifdef FLB_SYSTEM_WINDOWS
767+
flb_debug("[engine] maxstdio set: %d", _getmaxstdio());
768+
#endif
766769
/* Debug coroutine stack size */
767770
flb_utils_bytes_to_human_readable_size(config->coro_stack_size,
768771
tmp, sizeof(tmp));

0 commit comments

Comments
 (0)