Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

The newest td-gent (4.1.0-1) does not detect log rotation #280

Closed
S3ky opened this issue Apr 9, 2021 · 1 comment
Closed

The newest td-gent (4.1.0-1) does not detect log rotation #280

S3ky opened this issue Apr 9, 2021 · 1 comment

Comments

@S3ky
Copy link

S3ky commented Apr 9, 2021

Hi,

after upgrade td-agent to the latest version 4.1.0 (Fluentd 1.12.1, CentOS 7) we found a bug, that Fluentd did not detect log rotation. We manually confirmed that it was working in the td-agent v.4.0.1.

(Steps to reproduce log rotation problem):

We reproduced it by making an mv on the log file and then restarting our service, which is producing log files. After we restarted our service, the service started writing to another file. During this process, I checked the logs of the td-agent, that there was no message, and I looked in the pos file and it was clear that there was still inode from the file we moved.

Thank you for looking into this.

@ashie
Copy link
Collaborator

ashie commented Apr 9, 2021

Could you please close this one (I don't have the permission to do it here)?
You post a same issue at fluent/fluentd#3324 and we are aware both of them.
In addition, we migrated to td-agent-builder as of 4.0 and we are preparing 4.1.1 to fix this issue.

@S3ky S3ky closed this as completed Apr 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants