Hi,
I want to write a script that will read and parse a text log file for
errors.
The log file is being written to by another process, so grows as events
occur.
Rather than open it for read and reparse it each time, what options do I
have to optimize it so I don't have to re-parse the whole thing every time?
It is time stamped, so remembering that and reading each line until I find
it again is an option, but seems clunky.
Using ADO streams looks more interesting, given the ".position" method, but
I gather I need to read the whole file into memory to use that.
Any other bright ideas here?
I know it's not the right forum, but, for example, would I be better off
doing it with a perl module?
Cheers
Strider