> > I am using the CVS latest version currently, because it seems to have
> > the latest fix which you made to EmbperlObject as a result of all those
> > problems I was having. It's working great, but I notice that I am still
> > getting a lot of debug logging into /tmp/embperl.log, even with
> > EMBPERL_DEBUG set to 0 in httpd.conf. I assume this is stuff you put in
> > when you were fixing my problem. Any chance we could switch it off now?
> > The extra logging puts some overhead on my servers...
> >
>
> Yes, in the CVS version there sometimes some extra logging. To turn all
> logging off, just set
>
> PerlSetEnv EMBPERL_LOGFILE /dev/null
>
> I normaly remove this extra logging before I release a new version.
I tried putting this line in my production server httpd.conf, but I am
still getting all the additional stuff written to /tmp/embperl.log. I am
also getting a mysterious error at the end of every page. Here is a
small snippet of the kind of stuff I am getting even with the above
directive (this is the tail):
ProcessSub call ReadInputFile
ProcessBlock nBlockStart=95 nBlockNo=1 r -> Buf.pFile=859f240
ProcessSub pFile=859f240 nBlockStart=95 nBlockNo=1 r ->
Buf.pFile=85c0e78
ProcessSub call ReadInputFile
ProcessBlock nBlockStart=95 nBlockNo=1 r -> Buf.pFile=859f240
ReadInputFile r -> pInData=84a8f2c rok=0
ProcessFile r -> Buf.pFile=859b2b0
ProcessBlock nBlockStart=0 nBlockNo=1 r -> Buf.pFile=859b2b0
ProcessFile r -> Buf.pFile=84a96a0
ProcessBlock nBlockStart=0 nBlockNo=1 r -> Buf.pFile=84a96a0
ReadInputFile r -> pInData=84a8f2c rok=0
ProcessFile r -> Buf.pFile=859b808
ProcessBlock nBlockStart=0 nBlockNo=1 r -> Buf.pFile=859b808
[2772]CUP: Error while cleanup $HTML::Embperl::DOC::_1::page_bgcolor:
Modification of a read-only value attempted at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/HTML/Embperl.pm line 1393.
The "processblock" stuff looks a lot like the logging which you added to
epmain.c when we were trying to track down the previous caching problem.
Is it possible that this code is still in there and just doesn't pay
attention to the EMBPERL_LOGFILE directive?
The last message is weird. The variable concerned is a constant, which
should never be changed. There are many other constants which I defined,
so I am not sure why this one should cause a problem. I have checked my
code and it is used 3 times, in different files, in very simple
circumstances (i.e. just to set the background color of a page or
table).
Any ideas welcomed...
Thanks!
-Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]