in reply to Re: Logfile parsing across redundant files
in thread Logfile parsing across redundant files

Doesn't that leave a hole in the logic where today's file was truncated, but grew to be larger than yesterday's file?

For example a busy Monday after a quiet Sunday?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^2: Logfile parsing across redundant files

Replies are listed 'Best First'.
Re^3: Logfile parsing across redundant files
by roboticus (Chancellor) on Feb 02, 2007 at 22:37 UTC
    BrowserUk:

    Good catch! I guess we'd have to add some code to cache the first line as well. If the first line is the same, do the same thing as above. If not, then cache the first line and take the whole file.

    --roboticus