I tried your example code, and I got the same behavior from it irregardless of the location of the file. What I did notice is that any time I added anything more than two lines long to the file, the program would show only the last two lines, and then stop tailing.
So, I'd guess your issue is something else entirely.
In reply to Re: Tailing a log file using seek/tell
by kunwon1
in thread Tailing a log file using seek/tell
by atistler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |