in reply to Help on capturing only latest entries or lines from a logfile(Since last scan/read) on windows
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
|
|---|