Logging in standard_error_message
Two questions related to standard_error_message: 1. How can I write my own standard_error_message with a python product? 2. If writing his own standad_error_message is not possible, how can I log (print to stderr) with dtml? thomas
From: "Thomas Guettler" <zopestoller@thomas-guettler.de>
1. How can I write my own standard_error_message with a python product?
You don't need a python product to do that, although you can call python code from standard_error_message if you want.
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
participants (3)
-
Dieter Maurer -
Lennart Regebro -
Thomas Guettler