We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I notice another rotate bug while implementing a fix for #3921.
Suppose we launch Fluentd as follows:
PS> fluentd -c fluent.conf -o log/test.log --log-rotate-size=2k
This is perfectly normal settings, but it ends up causing an internal error. Here is the actual error message:
PS> bundle exec fluentd -c fluentd.conf -o test.log --log-rotate-size=2k ... log shifting failed. Permission denied @ rb_file_s_rename - (log/test-supervisor-0.log, log/test-supervisor-0.log.0) log writing failed. closed stream
No error
- Fluentd version: v1.15.2 (latest HEAD) - TD Agent version: - - Operating system: Windows Server 2019 - Kernel version: -
<source> @type dummy tag test.log </source> <match> @type stdout </match>
See above.
No response
The text was updated successfully, but these errors were encountered:
I don't fully trace the root cause yet, but my strong suspicion is that the supervisor actually has two separate logger instances (on the same file):
Since Windows locks files with an open handler by default and there is no coordination between two loggers, they are conflicting with each other.
Sorry, something went wrong.
fujimotos
No branches or pull requests
Describe the bug
I notice another rotate bug while implementing a fix for #3921.
Suppose we launch Fluentd as follows:
This is perfectly normal settings, but it ends up causing an internal error.
Here is the actual error message:
To Reproduce
Expected behavior
No error
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: