1

Help needed on Perl Script to Handle Log files that are rotated using logrotate

view story
linux-howto

http://www.unix.com – Hello all, I am working on a perl script which will read weblogic logfile and send the error messages to Zenoss Monitoring tool. At present the script works and it can able to send the error messages to Zenoss. The problem comes when the logrotate has been applied to the weblogic log file. At that time the script couln't able to read the log file since the logfile content has been shifted to log_file.1. Can you please help how can i handle this situation in Perl script. Regards Karthik (HowTos)