Maybe I cheat on this answer a little, but I believe it's not the question of where you stopped parsing, but with what. Logfiles have (or should have) the tendency to rollover (to be archived).
Since this question involves a logfile (and most likely all entries start with a date), you might want to consider writing the last date of the line you parsed to a temp. file. When you re-parse the logfile, ignore all lines with dates before that date. This might be a little heavy on system resources though (especially with a lot of entries).
If the logfile (old entries) is not really meaningfull to you after parsing, you even might consider to delete them entires after parsing. That would solve the problem, but you probably wouldn't be asking this question, if this could be the solution ;)
--
B10m
In reply to Re: Opening a file at a designated offset based on closing of the file
by b10m
in thread Opening a file at a designated offset based on closing of the file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |