[Zope] Logging in standard_error_message

Dieter Maurer dieter@handshake.de
Mon, 28 Jan 2002 21:08:57 +0100


Thomas Guettler writes:
 > 1. How can I write my own standard_error_message with a python product?
Look at "Zope.__init__.zpublisher_exception_hook" on how it finds
the error handler ("standard_error_message" usually).

 > 2. If writing his own standad_error_message is not possible, how can I 
 > log (print to stderr)
 >  with dtml?
Use an External Method, called from DTML, and call "zLOG.LOG" from their.


Dieter