in reply to log file analysis

maybe File::Tail will suit your needs?

Replies are listed 'Best First'.
Re^2: log file analysis
by sgt (Deacon) on Dec 22, 2006 at 13:07 UTC

    I don't know the platform. On something un*x-like, the following should work (I assume a single logfile, without true rotation {:== writes modulo maxsize} but even that could be handled)

  • you read the file doing whatever filtering, and record size read
  • you seek to the last position recorded and filter from there
  • is there any reason why a simple scheme like this could not work? AND of course you should try what has been previously recommended

    hth --stephan
Re^2: log file analysis
by vineet2004 (Initiate) on Dec 25, 2006 at 11:49 UTC
    thanks guys.....got one more query coming up soon