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 the 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,
i´m trying to suppress tracebacks in error messages in zope 2.5.1; fussing around with BOBO_DEBUG_MODE=0 and HTTP_TRACEBACK_STYLE=none didn´t do anything; seems like zope defaults to debug mode (setting -D 0 didn´t work either), which it shouldn´t do...
any suggestions? thank you!
_______________________________________________ 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 )
_______________________________________________ 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 )
quick a: ./start -D default is debugging turned off, so turn it on to get the tracebacks again. - oliver
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 the Zope instance I'm running on my workstation?
Sean
sean.upton@uniontrib.com writes:
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 the Zope instance I'm running on my workstation? Shane explained in a message to a Zope mailing list (--> archives) how you can control the traceback.
I think, you can customize "standard_error_message", but I am not sure. Dieter
Indeed, just add <dtml-var name="error_tb"> Somewhere in your standard_error_message template. hth, -Casey On Wednesday 04 September 2002 01:46 pm, Dieter Maurer wrote:
sean.upton@uniontrib.com writes:
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 the Zope instance I'm running on my workstation? Shane explained in a message to a Zope mailing list (--> archives) how you can control the traceback.
I think, you can customize "standard_error_message", but I am not sure.
Dieter
_______________________________________________ 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 )
participants (4)
-
Casey Duncan -
Dieter Maurer -
Oliver Skiebe -
sean.upton@uniontrib.com