On Tue, 12 Jun 2001, John Saylor wrote:
> Hi
>
> Is it possible to put a handler on the error log so that certain
> elements could be filtered? Ideally, I'd like to keep track of how many
> times a certain error appears and with a handler that would be a cake
> walk. So the handler would 'live' between the main httpd process and the
> file, doing it's magic there.
you can use a piped log to feed error_log output to a script. there are
no in-process error_log hooks for 1.x
see: http://httpd.apache.org/docs/mod/core.html#errorlog
"If the filename begins with a pipe (|) then it is assumed to be a command
to spawn to handle the error log."