Re: double-log-tail
Cool, thanks - both look promising. j On Mon, 2004-01-19 at 14:47, Wiggins d'Anconia wrote: Joel Newkirk wrote: I'm interested in tailing two logs (qmail) simultaneously, and interleaving the data in something approaching chronological sequence, as well as dealing with logfile rotation gracefully. Any suggestions? Check out File::Tail on CPAN, particularly the section on 'select' and the mentioned example script, it should get you close. http://search.cpan.org/~mgrabnar/File-Tail-0.98/Tail.pm And I might as well throw a POE reference in here, as usual this sort of thing is trivial in POE, particularly since there is already a Wheel written to do it, check out the cookbook entry here (not for the faint of heart): http://poe.perl.org/?POE_Cookbook/Watching_Logs HTH, http://danconia.org -- Not all those who wander are lost. - JRR Tolkien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: double-log-tail
Joel Newkirk wrote: I'm interested in tailing two logs (qmail) simultaneously, and interleaving the data in something approaching chronological sequence, as well as dealing with logfile rotation gracefully. Any suggestions? Check out File::Tail on CPAN, particularly the section on 'select' and the mentioned example script, it should get you close. http://search.cpan.org/~mgrabnar/File-Tail-0.98/Tail.pm And I might as well throw a POE reference in here, as usual this sort of thing is trivial in POE, particularly since there is already a Wheel written to do it, check out the cookbook entry here (not for the faint of heart): http://poe.perl.org/?POE_Cookbook/Watching_Logs HTH, http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
double-log-tail
I'm interested in tailing two logs (qmail) simultaneously, and interleaving the data in something approaching chronological sequence, as well as dealing with logfile rotation gracefully. Any suggestions? j -- Not all those who wander are lost. - JRR Tolkien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response