You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if the log file that is begin followed (Follow: true, ReOpen: true) will be read until the end when it is moved and recreated. I can imagine a race condition where a line is written to the log file just before the file is rotated, and the new log file is openend before the old one has been read until the end.
The text was updated successfully, but these errors were encountered:
i just confirmed this is actually a bug. It doesn't finish reading the renamed file before reopening the new file. I say this is a bug because it claims to follow BSD tail, which doesn't suffer from this issue.
I was wondering if the log file that is begin followed (Follow: true, ReOpen: true) will be read until the end when it is moved and recreated. I can imagine a race condition where a line is written to the log file just before the file is rotated, and the new log file is openend before the old one has been read until the end.
The text was updated successfully, but these errors were encountered: