Suppress traceback in error page? 2.5.1
Hello! I have almost sucessfully upgraded my zope from 2.4.4.b2 to 2.5.1. The problem I have now is that it suddenly starts printing tracebacks on evey error page. I have changes nothing except the zope version. It seems that 2.5.1 defaults to debug mode no matter what. I am not using the -D option, an I have set the following in the env that zope uses: Z_DEBUG_MODE=0 HTTP_TRACEBACK_STYLE=none to no avail. Zope still thinks it is in Debug mode. It used to work with 2.4.4... Any hints/suggestions? Thanks, /dario - -------------------------------------------------------------------- Dario Lopez-Kästen, dario@ita.chalmers.se IT Systems & Services System Developer/System Administrator Chalmers University of Tech.
--On Montag, 03. Juni 2002 01:42 +0200 Dario Lopez-Kästen <dario@ita.chalmers.se> wrote:
I am not using the -D option, an I have set the following in the env that zope uses:
Z_DEBUG_MODE=0 HTTP_TRACEBACK_STYLE=none
Hi Dario! This will not work, Zope tests for existence of the variable only! You will need to avoid setting Z_DEBUG_MODE entirely, assigning 0 will not have the desired efect. Stefan -- BLOWFISH, n. - Preference for beef
participants (2)
-
Dario Lopez-Kästen -
Stefan H. Holek