On Wed, 26 Sep 2001, Toby Dickenson wrote:

> I have some old python modules which are generating messages from the
> new python 2.1 warning framework. I can easily fix these modules,
> however it has exposed a problem in Zope......
> The warning framework tries to write to sys.stderr, and my Zope is
> dying from an exception because stderr has been closed.
> I think it makes sense that Zope should replace sys.stderr with an
> object that sends messages to zLog, however zLog itself sometimes
> wites to sys.stderr.
> Any thoughts on the right way to fix this?

AFAIK, setting the STUPID_LOG_FILE envar in the start script will provide 
stdout/stderr to Zope.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to