in reply to Parsing logs and bookmarking last line parsed
You can obtain the current position in a file with tell, and later seek to the same position.
Note that this works only if data is only appended, and old data is never deleted, or changed in length.
|
|---|