Re: reading log files in real time

From: Ramprasad A Padmanabhan (ramprasad.padmanabhan_at_oracle.com)
Date: 07/26/04


To: Adrian Farrell <Adrian.Farrell@instinet.co.uk>
Date: Mon, 26 Jul 2004 18:38:52 +0530

use File::Tail;

Ram

On Mon, 2004-07-26 at 18:19, Adrian Farrell wrote:
> Hi,
>
> I'm looking for a way to read log files in real time, so that each time a
> new entry appears in the file I can perform a search/query (whatever
> really!) on it.
>
> it's odd really, as I expected this to be a very common scenario and yet I
> can find nothing on it!
>
> I think there maybe some way to achieve this using the seek and tell
> commands but I can't quite fathom it out.
>
> any suggestions?
>
> thanks,
> Ad
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> <<Disclaimer>>
> This message contains confidential information and is intended only for the
> named individual. If you are not the named addressee, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this message in error and delete
> this e-message from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, delayed in
> transmission, incomplete, or may contain viruses. The sender therefore does
> not accept liability for any errors or omissions in the contents of
> this message which arise as a result of e-mail transmission. If
> verification is required please request a hard-copy version. This message
> is provided for informational purposes and should not be construed as a
> solicitation or offer to buy or sell any securities or related financial
> instruments.
>
>



Relevant Pages

  • reading log files in real time
    ... I'm looking for a way to read log files in real time, ... E-mail transmission cannot be guaranteed to be secure or error-free as ... The sender therefore does ...
    (perl.beginners)
  • Fw: works when printing to screen, not when printing to file! - SOLUTION!?
    ... it fails to read in any more real time input. ... E-mail transmission cannot be guaranteed to be secure or error-free as ... The sender therefore does ...
    (perl.beginners)
  • works when printing to screen, not when printing to file!
    ... it fails to read in any more real time input. ... E-mail transmission cannot be guaranteed to be secure or error-free as ... The sender therefore does ...
    (perl.beginners)
  • Re: reading log files in real time
    ... restricttions on what we can install on production servers (banks are like ... > I'm looking for a way to read log files in real time, ... Please notify the sender ... > this message which arise as a result of e-mail transmission. ...
    (perl.beginners)
  • Re: No external emails
    ... Are you talking about the log files in the mdbdata folder? ... Yes Sender ID is turned on. ... I did look in the virtual server this morning and they were 3 ... she did not get ext emails. ...
    (microsoft.public.exchange.admin)