perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron B. Prince" <cpri...@rideware.com>
Subject Disable Debug Output
Date Thu, 03 Jul 2003 12:37:08 GMT
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


Mime
View raw message