Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
imfile: truncated file won't be read until size growed to the previous length #511
When input file in truncated, log appended to the file won't be read until its size reached the previous length. This can be easily reproduced with following sample config:
Desired behavior is to reset the recorded offset when input file is truncated.
I am attaching the full debug log below, broken into sections with some comments, hope this helps.
Write 10 lines with