You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "Cameron B. Prince" <cp...@rideware.com> on 2003/07/03 14:37:08 UTC
Disable Debug Output
Hi,
I'm trying to increase the performance of my Embperl site... Below are the
relevant lines from my httpd.conf file. I have debug set to 0 and log set to
/dev/null before embperl is loaded, but for some reason, I still get data in
/tmp/embperl.log.
I am running RH9 with Embperl-2.0b9. Can you tell me how to disable this
debugging?
The debug file contains lines like:
[1992]PERF: Run Time: 0 ms
[1992]PERF: DOMSTAT: MemUsage = 1023072 Bytes numNodes = 14001
numLevelLookup = 92 numLevelLookupItem = 12651 numStr = 5467 numReplace =
5333
[1992]PERF: Run Start Time: 160 ms
[1992]PERF: Run End Time: 1610 ms
[1992]PERF: Run Time: 1450 ms
[1992]PERF: DOMSTAT: MemUsage = 1022992 Bytes numNodes = 14004
numLevelLookup = 92 numLevelLookupItem = 12651 numStr = 5467 numReplace =
5333
[1992]PERF: input = ???
[1992]PERF: Time: 2030 ms
[1992]Request finished. Thu Jul 3 20:25:39 2003
Thanks,
Cameron
LoadModule perl_module modules/mod_perl.so
# This will allow execution of mod_perl to compile your scripts to
# subroutines which it will execute directly, avoiding the costly
# compile process for most requests.
#
Alias /perl /var/www/perl
<Directory /var/www/perl>
SetHandler perl-script
PerlHandler ModPerl::Registry::handler
PerlOptions +ParseHeaders
Options +ExecCGI
</Directory>
AddType text/html .epl
<Files *.epl>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
</files>
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_MAILHOST localhost
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html
PerlSetEnv EMBPERL_DEBUG 0
PerlSetEnv EMBPERL_LOG /dev/null
PerlModule Embperl
<Directory "/var/www/html/emb/pages">
<FilesMatch ".*\.html$">
SetHandler perl-script
PerlHandler Embperl::Object
Options ExecCGI
</FilesMatch>
<FilesMatch ".*\.epl$">
Order allow,deny
Deny From all
</FilesMatch>
</Directory>
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Disable Debug Output
Posted by Angus Lees <gu...@inodes.org>.
At Fri, 4 Jul 2003 09:52:07 +0200, Gerald Richter wrote:
> EMBPERL_DEBUG 0
speaking of which, can this be the default please?
i was quite surprised to find my embpexec.pl commands writing to
/tmp/embperl.log without being asked..
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Disable Debug Output
Posted by Gerald Richter <ri...@ecos.de>.
> PerlSetEnv EMBPERL_DEBUG 0
Embperl 2 doesn't use environment variables by default anymore. Either set
Embperl_UseEnv on
or better just remove the PerlSetEnv e.g.
EMBPERL_DEBUG 0
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org