Here's what I use to watch my apache logs.. Looks for php errors,
notices, and warnings, seg faults, etc.. Grabs the stats for the prior
hour and spits them to stdout.. Pipe that to mutt or sendmail and
youve got an hourly cron.. Check the command line options for other
good stuff.. Only catch: This is written in perl..

http://www.michaelpreslar.com/hour_errorlog.pl.txt

> Should probably say that it also renames the log file, graceful's
> Apache, zips the old log and moves it to an archive file server. Rob's
> script above, used without something that starts a new log will result
> in ever-increasing emails.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to