perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: Would like mod_perl 1.29 to include more information on fatal errors
Date Thu, 03 Sep 2009 17:38:42 GMT
On Thu, Sep 3, 2009 at 11:32 AM, James Olsen<jamesml@planetolsen.com> wrote:
> I would like to know if someone has a patch that will dump out more
> information about the hit, such as the requested URI, any parameters
> that are passed, what perl modules are in memory, the process ID, or
> anything at all that might help.
>
> I'm rusty on my C and I've never dug into mod_perl guts before, so I'm
> not sure where to even begin to look at adding the output of
> information myself on a fatal error (one that prevents a properly
> handled response).

You could:
- Make s $SIG{__DIE__} handler
- Wrap your application in an eval {}

The data you want is available from either the standard apache log
formats or perl code in Apache::Status, so there's no need to worry
about writing C here.

- Perrin

Mime
View raw message