PerlWarn just turns on -w for your code:

http://modperlbook.org/html/ch06_01.html#pmodperl-CHP-6-SECT-1

I don't remember how Perl's warn() interacts with the Apache error  
logs. You might try the mod_perl list.

Jon

On Jul 25, 2007, at 1:03 PM, Brian Reichert wrote:

> I feel really stupid asking this sort of question, but:
>
> How do I get HTML::Mason to send warn() output to Apache's error logs?
>
> I have 'PerlWarn On' in my global httpd.conf; I thought that would
> have cut it.
>
> This is my _second_ webapp project; my first was a few years ago,
> and issues like this simply didn't crop up.  warn() Just Worked.
>
> If this is discussed already in the list archives, I apologize; I
> wasn't able to find the correct set of buzzwords to get a hit out
> of Google. :)
>
> I'd be happy to provide any config file directives that you think
> might be appropriate...
>
> -- 
> Brian Reichert                                <[EMAIL PROTECTED]>
> 55 Crystal Ave. #286                  Daytime number: (603) 434-6842
> Derry NH 03038-1725 USA                       BSD admin/developer at large    
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to