[ZCM] [ZC] 277/ 1 Request "Shut down standard error and out when not in debug mode"

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Fri, 08 Mar 2002 10:52:51 -0500


Issue #277 Update (Request) "Shut down standard error and out when not in debug mode"
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/277

==============================================================
= Request - Entry #1 by evan on Mar 8, 2002 10:52 am

If Zope is not in debug mode, ZDaemon needs to redirect stdout and stderr to /dev/null before spawning processes.  This prevents IO errors and crashes when subprocesses try to print.  Note that redirecting 'sys.stdout' is *not* sufficient, since it won't help C code in database adapters, etc.
==============================================================