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

Fix failure to launch Fluentd on Windows with log rotation but not specifying the log path in the command line #4188

Merged
merged 1 commit into from
May 30, 2023

Conversation

daipom
Copy link
Contributor

@daipom daipom commented May 29, 2023

Which issue(s) this PR fixes:
Fixes #4187

What this PR does / why we need it:
Fix a bug of f8b73a5 (#4091).

Before that fix, Fluentd can start if rotation is enabled but the log file path is not specified.
After that fix, the logger setup starts to fail on Windows.

This fix solves it.

Docs Changes:
Not needed.

Release Note:
Same as the title.

Fix a bug of f8b73a5 (fluent#4091).

Before that fix, Fluentd can start if rotation is enabled but the log file path
is not specified.
After that fix, the logger setup starts to fail on Windows.

This fix solves it.

Signed-off-by: Daijiro Fukuda <[email protected]>
@ashie ashie self-requested a review May 29, 2023 06:59
@ashie
Copy link
Member

ashie commented May 30, 2023

Hmm, although it's not a problem of this PR, time out occurs on Ruby head:
https://github.com/fluent/fluentd/actions/runs/5108944850/jobs/9183231391?pr=4188

@ashie ashie merged commit dcc05e5 into fluent:master May 30, 2023
@ashie
Copy link
Member

ashie commented May 30, 2023

Thanks!

@daipom daipom deleted the fix-logger-setup-failure branch May 30, 2023 03:03
@daipom
Copy link
Contributor Author

daipom commented May 30, 2023

Thanks for your review!

@daipom daipom added this to the v1.16.2 milestone Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants