Oh yes I see it is possible to pipe it. Good idea.
I will try this:
ErrorLog "|/usr/bin/php /home/john/test.php"
and see if I can make a little php program that checks for the 404 condition and doesn't write it if so
Or do you think it would run faster if it was written as a shell script?
I don't know I would write a shell script that would "If string not contain "404" and string not contain "not found" then write to /var/log/httpd/error_log"
|