-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Duplication of logs even with follow_inodes true #3532
Comments
I've found a case to reproduce it with v1.13.3:
But it's not reproduce with current HEAD (90766d7). |
I'm getting logs duplication with follow_inodes with fluentd 1.14.5. Here's how config looks like:
|
This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days |
One cause of duplicate logs has been clarified and resolved with the following fix: Please try v1.16.2 after the package is released. |
Just in case, there is still a possibility of duplicate logs: but I think it is not related to this issue and this issue is resolved by #4237. |
Hi, I'm still experiencing the same issue of duplicated logs for version v1.16.2:
Fluentd Config:
|
@jamslinger
I think the entire file duplication problem is solved, but part of a file duplication problem still exists.
|
Describe the bug
Log duplication occurs on log-rotation even when follow_inodes is true.
The pos-file seems to contain the right entries from what I assume it should have.
To Reproduce
I have the following in a
When some.log gets rotated to some.log.1, the whole contents of the file is resent.
Expected behavior
From the documentation of follow_inodes, I assumed this should work as expected and only new entries written to the rotated logfile (the ones written after the rotation but before the process logging to the file is HUPed) should have been sent.
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: