Save the log file size to a helper file when your log reader script ends. When the log reader script starts again, read the old log file size back, then open the log file and seek to the old file size.
Alexander
In reply to Re: Help on capturing only latest entries or lines from a logfile(Since last scan/read) on windows
by afoken
in thread Help on capturing only latest entries or lines from a logfile(Since last scan/read) on windows
by crazy-duck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |