Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluent Bit v3.2.0 exits immediately on Windows if build with static conf #9556

Closed
MarkoCuk27 opened this issue Nov 5, 2024 · 0 comments · Fixed by #9582
Closed

Fluent Bit v3.2.0 exits immediately on Windows if build with static conf #9556

MarkoCuk27 opened this issue Nov 5, 2024 · 0 comments · Fixed by #9582
Labels
status: waiting-for-triage Windows Bugs and requests about Windows platforms

Comments

@MarkoCuk27
Copy link

MarkoCuk27 commented Nov 5, 2024

Bug Report

Fluent Bit v3.2.0 exits immediately after starting with no error messages in PowerShell, even with increased verbosity (-vv). Tested on Windows. If build without defining a static config it works all ok.

To Reproduce:
cmake .. -G "Visual Studio 17 2022" -A x64 -DFLB_STATIC_CONF=C:/Users/marko/Documents/GitHub/fluent-bit/confdir/
cmake --build . --config Release

Screenshot

image

This is the config (only for testing):

[SERVICE]
    log_level debug
    Log_File C:/Users/marko/Documents/GitHub/fluent-bit/logs/fluent-bit-debug.log

[INPUT]
    Name cpu
    Tag  cpu_metrics

[OUTPUT]
    Name stdout
    Match *

The build process runs ok and I get a new exe file every time. However, there are only problems with starting if I built the exe with a static config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage Windows Bugs and requests about Windows platforms
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants