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 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)
Did you check your apache logging settings? If LogLevel isn't set appropriately, apache might be discarding the warns. > ----- Original Message ----- > >> 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? -- Anywhere is walking distance, if you've got the time. - Steven Wright