Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)
I tried to put a "LogLevel debug" in my httpd.conf, so that everything gets
logged, but this didn't make a difference: my warn messages don't get
What else could I try, in order to find out why?
If I'm running a script with that:
Then, "waning" doesn't get logged while "dying" does...
----- Original Message -----
From: "Malcolm J Harwood" <firstname.lastname@example.org>
Cc: "Lionel MARTIN" <email@example.com>
Sent: Tuesday, May 09, 2006 3:53 PM
Subject: Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)
> On Thursday 04 May 2006 06:37 am, Lionel MARTIN wrote:
>> I'm sorry, but I may have misled you: I "said" script, but I'm not
>> 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)[/color]
> Did you check your apache logging settings? If LogLevel isn't set
> appropriately, apache might be discarding the warns.
>> ----- Original Message -----[color=darkred]
>> >> 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?[/color][/color]
> Anywhere is walking distance, if you've got the time.
> - Steven Wright