Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 29616 invoked from network); 13 Dec 2007 18:15:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2007 18:15:21 -0000 Received: (qmail 8471 invoked by uid 500); 13 Dec 2007 18:15:10 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 8461 invoked by uid 500); 13 Dec 2007 18:15:09 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 8450 invoked by uid 99); 13 Dec 2007 18:15:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 10:15:09 -0800 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=RCVD_BAD_ID,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.54.172.250] (HELO SMTP.VWR.COM) (66.54.172.250) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 18:14:48 +0000 Received: from wcmail.vwr.com ([10.161.1.47]) by SMTP.VWR.COM (Lotus Domino Release 5.0.11) with ESMTP id 2007121313144686:292448 ; Thu, 13 Dec 2007 13:14:46 -0500 Subject: Re: Embperl logging "out of control" To: embperl@perl.apache.org X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: Tim_Grant@vwr.com Date: Thu, 13 Dec 2007 13:14:46 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on PAWCHMAIL01/VWRI(Release 7.0.2FP2|May 14, 2007) at 12/13/2007 01:14:46 PM, Itemize by SMTP Server on PAWCHSMTP01/VWRI(Release 5.0.11 |July 24, 2002) at 12/13/2007 01:14:46 PM, Serialize by Router on PAWCHSMTP01/VWRI(Release 5.0.11 |July 24, 2002) at 12/13/2007 01:15:09 PM, Serialize complete at 12/13/2007 01:15:09 PM Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org >We had an incident like that back in our development of our pages. We >tracked it down to someone having set EMBPERL_DEBUG to -1 in one of >their pages, and assumed that the automatic garbage collection at the >end of the page would fix it up. So whenever an apache child showed >that page, it'd start logging like this. Great tip. Doesn't seem to be what's happeninig here. >I found it by grepping the log file for EMBPERL_DEBUG, if I remember >correctly. Note that it didn't actually log the section that did it to >us on the *first* pass through that page for any child. But it did, of >course, tattle if a child showed the same page twice. Grepping our logs for EMBPERL_DEBUG returned no results. >Of course, if the bug was in perl code, rather than one of our pages, we >wouldn't have caught it that way. Instead, we'd have caught it from my >earlier grep of all of our perl code and all of the non-EmbPerl library >code for EMBPERL_DEBUG. Grepping our code for EMBPERL_DEBUG returned no results. >Note that, while it wouldn't solve your issue, you could make a web page >to report those same variables, and when you found out which one was >wrong, modify some pages to fix it. We have a report page. Here's an excerpt: EMBPERL_COMPARTMENT test EMBPERL_DEBUG 0 EMBPERL_LOG /www/logs/www.vwrsp.com.embperl.log EMBPERL_OPTIONS 1024 EMBPERL_SESSION_HANDLER_CLASS no ... REDIRECT_EMBPERL_COMPARTMENT test REDIRECT_EMBPERL_DEBUG 0 REDIRECT_EMBPERL_LOG /www/logs/www.vwrsp.com.embperl.log REDIRECT_EMBPERL_OPTIONS 1024 REDIRECT_EMBPERL_SESSION_HANDLER_CLASS no When I look at that, it says to me that Embperl logging should be off. I've reloaded the page a lot, and haven't seen the EMBPERL_DEBUG variable change. (BTW, I don't know what this redirect stuff is. I've seen very little mention of it on the internet.) >>I am assuming that all of your processing is within Apache. Correct. -- Regards, Tim Grant Application Developer, VWR International 610-719-7097 --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org