Re: Logging Perl errors to browser

2002-05-07 Thread Geoffrey Young



Jeff wrote:

> Folks,
> 
> How do I get to log my mod_perl handler Perl errors to the browser
> instead of into the Apache logs?


see recipes 4.5 and (the more interestingly but less robust) 16.6 in the cookbook

the code for each is here
   http://www.modperlcookbook.org/code/ch04/Cookbook/ErrorsToBrowser.pm
   http://www.modperlcookbook.org/code/ch16/Cookbook-DivertErrorLog-0.01.tar.gz

if you don't have the book you can see chapter 4 online at
   http://www.webreference.com/programming/perl/cookbook/

HTH

--Geoff







Logging Perl errors to browser

2002-05-07 Thread Jeff

Folks,

How do I get to log my mod_perl handler Perl errors to the browser
instead of into the Apache logs?

TIA
Jeff