[Zope] suppressing tracebacks

sean.upton@uniontrib.com sean.upton@uniontrib.com
Tue, 03 Sep 2002 09:11:00 -0700


Quick Q: I've been using Zope 2.6a for new development, and find I really
miss tracebacks in the html... Is there a way to turn them back on for th=
e
Zope instance I'm running on my workstation?

Sean

-----Original Message-----
From: Chris McDonough [mailto:chrism@zope.com]
Sent: Monday, September 02, 2002 2:58 PM
To: Oliver Skiebe
Cc: zope@zope.org
Subject: Re: [Zope] suppressing tracebacks


This whole area is much improved on the Zope trunk (aka Zope 2.6).  I'd
suggest checking it out when you get a chance.  Instead of putting
tracebacks in HTML responses by default, it consolidates logging into an
"error log" object.  You can optionally tell the error log object to
write errors to the event log (stupid log) as well.

As far as Zope 2.5.1 goes... I'm honestly not sure how it's supposed to
work. If there was ever a clear and forthright description of the intent
of BOBO_DEBUG_MODE and HTTP_TRACEBACK_STYLE, it was lost long ago. ;-)

- C

On Mon, 2002-09-02 at 17:43, Oliver Skiebe wrote:
> hi,
>=20
> i=B4m trying to suppress tracebacks in error messages in zope 2.5.1;
> fussing around with BOBO_DEBUG_MODE=3D0 and HTTP_TRACEBACK_STYLE=3Dnone
> didn=B4t do anything;
> seems like zope defaults to debug mode (setting -D 0 didn=B4t work eith=
er),
> which it shouldn=B4t do...
>=20
> any suggestions?
> thank you!=20
>=20
>=20
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )



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