Thanks,
I'm sorry, but I may have misled you: I "said" script, but I'm not talking
about CGI scripts here.
In fact, even when puttting my "warn $msg;" in a custom MP handler, the
message doesn't go to the error log.
So, I'd like to understand when the content of the warn message is going.
(please have a look at the details below for the original question)
----- Original Message -----
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
To: "Lionel MARTIN" <[EMAIL PROTECTED]>
Cc: <modperl@perl.apache.org>
Sent: Thursday, May 04, 2006 12:28 PM
Subject: Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)
Lionel MARTIN wrote:
Hi,
I'm currently running Apache 2.0.54 with MP 2.0.2, on Win32.
When I'm doing a
print STDERR "Hello\n";
warn "Hello\n";
at server startup, i.e.in a >Perl> block in httpd.cong, both messages go
to the console, and to error.log as well.
But when I'm doing the same thing within a script (handleed by
ModPerl::Registry), these message don't appear anywhere. So, I'm
wondering where they get redirected? The fact I'm running that under
Win32 (threaded MPMs) may be important?
http://httpd.apache.org/docs/2.0/mod/mod_cgi.html#scriptlog
Bill