logo       

Re: Win32: Apache2+modperl2 STDERR not going to error.log?: msg#00241

apache.mod-perl

Subject: Re: Win32: Apache2+modperl2 STDERR not going to error.log?

Alessandro Forghieri wrote:
Greetings.

I am using the binary distribution "Apache/2.0.40-dev (Win32)
mod_perl/1.99_05-dev Perl/v5.8.0" from uwinnipeg. OS is NTsp6

httpd.conf is basically unmodified.

I have noticed that carp'ing or warn'ing or even printing to stderr from a
Registry script does not send anything to error.log. The same from CGI does
produce the expected log records - verified on printenv.

Also I am under the impression that the same does *NOT* happen on Win2K, but
I cannot confirm it right now.

Is this a known issue with this version, a by-design thing, or is it just
me?

FWIW, there are no problems on linux. Do you have the same problem with v5.6.1?

Meanwhile try using the logging methods if possible:
http://perl.apache.org/docs/2.0/api/mod_perl-2.0/Apache/Log.html

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise