Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: logging ftp log into mysql db...

by perlknight (Pilgrim)
on Apr 02, 2006 at 13:56 UTC ( [id://540749]=note: print w/replies, xml ) Need Help??

in reply to Re: logging ftp log into mysql db...
in thread logging ftp log into mysql db...

Do you know if File::Tail takes into account when the log files get rotated? Thanks.

Replies are listed 'Best First'.
Re^3: logging ftp log into mysql db...
by McDarren (Abbot) on Apr 02, 2006 at 14:20 UTC
    Well, from the docs:
    If the file does not get altered for a while, File::Tail gets suspicio +us and starts checking if the file was truncated, or moved and recreated. + If anything like that had happened, File::Tail will quietly reopen the + file, and continue reading. The only way to affect what happens on reopen is by setting the reset_ +tail parameter (see below). The effect of this is that the scripts need not be aware when the logf +iles were rotated, they will just quietly work on.
    So I would say the answer to that question is yes :)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://540749]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-20 17:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found