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

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Help on capturing only latest entries or lines from a logfile(Since last scan/read) on windows