Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 75375 invoked from network); 9 May 2006 13:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 13:53:51 -0000 Received: (qmail 46635 invoked by uid 500); 9 May 2006 13:53:43 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 46622 invoked by uid 500); 9 May 2006 13:53:43 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 46602 invoked by uid 99); 9 May 2006 13:53:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 06:53:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.158.52.11] (HELO mail.liminalflux.net) (216.158.52.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 06:53:41 -0700 Received: from localhost (dalereuth.liminalflux.net [127.0.0.1]) by mail.liminalflux.net (Postfix) with ESMTP id E8D573828C; Tue, 9 May 2006 09:53:19 -0400 (EDT) Received: from mail.liminalflux.net ([127.0.0.1]) by localhost (mail.liminalflux.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10949-03; Tue, 9 May 2006 09:53:13 -0400 (EDT) Received: from [10.1.10.105] (unknown [141.151.66.54]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.liminalflux.net (Postfix) with ESMTP id 02EF738262; Tue, 9 May 2006 09:53:12 -0400 (EDT) From: Malcolm J Harwood To: modperl@perl.apache.org Subject: Re: Where do the "warn" message go? (Ap2 & MP2 on Win32) Date: Tue, 9 May 2006 09:53:06 -0400 User-Agent: KMail/1.8.2 Cc: "Lionel MARTIN" References: <4459D73C.90702@rowe-clan.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605090953.11791.mjhlist-modperl@liminalflux.net> X-Virus-Scanned: by amavisd-new at liminalflux.net X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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