Subject: | File::Tail each line in file instead of tailing, after running for 10 days |
Intalled latest File::Tail 0.99.1 on Redhat 9, Perl 5.8.0.
Wrote a very simple Perl script to look for a string in a log file, initialize an app and send me an e-mail. Tested and verified that it worked, then left it running, beginning Feb 26, 2005 at 18:50. This morning, March 9, 2005 at 8:15 am I started getting emails that my app was getting initialized.
These e-mails originated from lines in the log file dating back to 2003 (yeah I should roll that log), but there were no contemporaneous events to have triggered the e-mails and app initialization.
So it looks like File::Tail, after some event (timeout?) just opened the log and began at the top instead of the tail.