kar_thik82 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Just want to what is the best way to read the rotated file i am developing a log monitoring solution for Solaris Syslog where i am reading the /var/adm/messages file. At the time of rotation the Archived file messages.1 will have some latest errors how to handle this situation. The current logic which i am trying to concatenate the two files messages and messages.1 and sending the errors. Is there any best possible way to handle this log rotation other than concatenating the files. which is a very slow process
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to read the log rotated file
by rnewsham (Curate) on Mar 07, 2013 at 09:57 UTC | |
by kar_thik82 (Novice) on Mar 07, 2013 at 15:02 UTC | |
|
Re: How to read the log rotated file
by tmharish (Friar) on Mar 07, 2013 at 07:34 UTC |