Commit ca717c29 authored by Andreas Jung's avatar Andreas Jung

reverted checkin for new env var LOG_ZPUBLISHER_TRACEBACK because

Shanes traceback patches provide a much better functionality.
parent b1779aaf
......@@ -73,9 +73,6 @@ Zope Changes
- New implementation of ZODB object cache.
- new env. variable LOG_ZPUBLISHER_TRACEBACK
(see doc/ENVIRONMENT.txt)
Bugs:
- Made repr of an HTTPRequest.record eval'able as a dict (Collector
......
......@@ -140,12 +140,6 @@ Debugging and Logging
Run Zope in debug mode if set. Same as -D options (z2.py)
LOG_ZPUBLISHER_TRACEBACK
If set, Zope will log all ZPublisher traceback through
the stupid logger. (Default: unset)
Misc.
Z_REALM "your realm"
......
......@@ -12,11 +12,10 @@
##############################################################################
'''CGI Response Output formatter
$Id: HTTPResponse.py,v 1.58 2002/04/12 17:22:44 andreasjung Exp $'''
__version__='$Revision: 1.58 $'[11:-2]
$Id: HTTPResponse.py,v 1.59 2002/04/12 17:27:44 andreasjung Exp $'''
__version__='$Revision: 1.59 $'[11:-2]
import types, os, sys, re
import zLOG
from string import translate, maketrans
from types import StringType, InstanceType, LongType, UnicodeType
from BaseResponse import BaseResponse
......@@ -609,10 +608,6 @@ class HTTPResponse(BaseResponse):
(str(t), b + self._traceback(t,'(see above)', tb, 0)),
is_error=1)
del tb
if os.environ.has_key('LOG_ZPUBLISHER_TRACEBACK'):
zLOG.LOG('zpublisher',zLOG.WARNING,'Traceback:',body)
return body
_wrote=None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment