Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in_tail: add warning for silent stop on !follow_inodes case (fluent#4339
) For `refresh_watcher`, if an exisiting TailWatcher already follows a target path with the different inode, it means that the TailWatcher following the rotated file still exists. In this case, `refresh_watcher` can't start the new TailWatcher for the new current file. So, we should output a warning log in order to prevent silent collection stops, such as fluent#4327. The similar warning may work for follow_inodes too. Just limiting the case to suppress the impact to existing logic. Signed-off-by: Daijiro Fukuda <[email protected]>
- Loading branch information