in reply to apache errorlog
You might want to read up on Apache::ParseLog, which
handles the log file parsing more robustly than your example.
It automatically reads httpd.conf to find out the format of the
log file.
In Section
Craft
in reply to apache errorlog