>>>>> "RN" == Ranga Nathan <[EMAIL PROTECTED]> writes:
RN> Thanks all for the responses.... RN> While talking to my son he pointed out that tailing xferlog would be a RN> problem when the log is being rotated. I would be looking at an old inode RN> that has no activity. I looked at the system and found that the logs are RN> rotated at 4AM every sunday. So, I need to change my approach. RN> I found a number of modules like File::Tail and File::Tail::App. Looks RN> like these modules will have the same issue. stem has a tailing module that works correctly even with rotating logs. it checks if the inode has changed and reseeks to the beginning if it has. there is also a log tailing demo that shows some of what it can do. also it can tail multiple files at one time which is something file::tail can't do (it uses the global sigalarm timer so you can't do parallel tails). uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

