BeerBong wrote:

> We already did this! The question is - with 2 apache config,
> proxy-front-end apache logs every request, even if power apache daemon
> crushed with segfault, simple-proxy daemon logs request with URI and
> 502 status. We know time of segfault and can find 502 request in
> access logs with such time, and we can find out a request, wich causes
> seg fault. All right. It's working for 2 apache config. If we use
> simple 1 apache daemon, I think, we will have in logs segfault message
> only. Is there way to find out segfault request for simple
> configuration ?

Provide a custom loghandler, which runs before the content generation phase
or whichever phase the segfault happens at. Though you won't know the 
status,
but there is nothing you can do after segfault. Or I can think of two steps
handler, which let's say logs something before the potentially segfaulting
handler and the status after the handler is run. So in case of segfaults
the status will be missing.
_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to