Describe the bug
After a few file rotations, in_tail stops tracking log files.
To Reproduce
-
Run Fluentd with the attached configuration.
-
Rotate the file twice using cmd.exe
% cd /opt/td-agent/
% echo aiueo >> test.log
% del test.log
% echo aiueo >> test.log
% del test.log
-
Now Fluentd just gets stuck, keeping test.log in DeletePending status forever.
Expected behavior
File rotation should work properly.
Your Environment
- Windows Server 2016
- td-agent v4.1.1
- Fluentd v1.12.3
Your Configuration
<source>
@type tail
path /opt/td-agent/test.log
tag test.log
<parse>
@type none
</parse>
</source>
<match test**>
@type stdout
</match>
Additional context
Describe the bug
After a few file rotations,
in_tailstops tracking log files.To Reproduce
Run Fluentd with the attached configuration.
Rotate the file twice using cmd.exe
Now Fluentd just gets stuck, keeping
test.loginDeletePendingstatus forever.Expected behavior
File rotation should work properly.
Your Environment
Your Configuration
Additional context