Re: Mod Perl + Apache Error logs, extend DBILogger

2004-01-10 Thread Joe Schaefer
<[EMAIL PROTECTED]> writes: > This information is most helpful in understanding what is going on. > That would be the logical thing to think that the during the perlhandler > phase the content() gets sucked up and isn't available for [...] > This is what I have below, the problem I'm trying to

RE: Mod Perl + Apache Error logs, extend DBILogger

2004-01-10 Thread Ben.Carlson
t;0, output=>'text', error=>"Paramterts: >^..^< content: $content ", logfile=>'/var/apache_logfile' }); return OK; } -Original Message- From: Tom Schindl [mailto:[EMAIL PRO

Re: Mod Perl + Apache Error logs, extend DBILogger

2004-01-10 Thread Tom Schindl
Hi, I'm not sure whether I'm right or wrong. Your problem is that the logging phase is coming after the PerlHandler-phase and that $r->content from the PerlHandler-phase has already consumed the posted data. To come across this problem you could use Apache::Request which works as a singleton a

Mod Perl + Apache Error logs, extend DBILogger

2004-01-09 Thread Ben.Carlson
I don't know if this is possible or not, but I took parts of DBILogger and wanted to extend what I could do with it. What I would like to do is for a given request to a cgi program (or mason) if the script causes an internal error (which should not happen in production, but does) I would like to