tail icon indicating copy to clipboard operation
tail copied to clipboard

feat: fix file change(rename) line loss and duplication

Open WanT0011 opened this issue 7 months ago • 0 comments

#72

When we use tail to collect logs (starting from the beginning of the new file), during file renaming (when flush and rename events occur very close to each other), part of the old log file may not be collected (write event -> truncated event), and the new file may be collected twice (truncated (write -> truncated) and delete events occurring simultaneously). Therefore, an issue fix is proposed.

WanT0011 avatar Jul 04 '24 03:07 WanT0011