[Zope] Re: disable zope traceback in html source

Bakhtiar A Hamid kdie@nstp.com.my
Mon, 3 Feb 2003 01:00:42 +0800 (MYT)


On 2 Feb 2003, jonatan wrote:

> On Fri, 2003-01-31 at 23:29, Maik Jablonski wrote:
> > jonatan wrote:
> > > can someone tell me how do i remove debug messages ?
> > > i dont want anyone to see my tracebacks in the html source.
> > Don't start Zope with the -D option. Edit your start script to turn this 
> > off. Or update to Zope 2.6... no more tracebacks in the source, but an 
> > nice error-log in the root of your Zope.
> 
> thanks for the advice, but it's running without -D :(
> with -D, it dumps it visible, not just the source.
> 
> i cannot upgrade easily and quickly to 2.6 now (big production site),
> is there another way to solve this perhaps? 

works with zope 2.5.1,

set environment 
HTTP_TRACEBACK_STYLE='none'


or check out http://my-zope.org/exp/20020418131702

> 
> 
> thanks,
> 
> jonatan
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>