[Zope-Coders] STUPID_LOG_FILE enable on start?

Tres Seaver tseaver@zope.com
30 Jun 2002 16:59:19 -0400


On Sat, 2002-06-29 at 15:45, Chris McDonough wrote:
> Folks,
> 
> I am pondering making Zope 2 output its STUPID_LOG_FILE to stdout in the
> default "start" script.  Does anyone see any real problem with this?

+1;  add a comment explaining how to reset it, maybe with a
commented-out example::

 # STUPID_LOG_FILE controls if / where Zope writes its debugging output.
 # By default, we write to standard output;  in production, we probably
 # want to write to a logfile, or even to syslog (see
 # doc/ENVIRONMENT.txt for details).  E.g.:
 # STUPID_LOG_FILE=/var/zope/debug.log; export STUPID_LOG_FILE
 STUPID_LOG_FILE=''
 export STUPID_LOG_FILE

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com