[Zope] Zope IOError messages (FOUND TEST CASE)

Chris McDonough chrism@digicool.com
Tue, 01 May 2001 11:49:34 -0400

On Tue, 1 May 2001 11:22:20 -0400
 Jérôme Loisel <jerome@levinux.org> wrote:

> I have never really had to muck around STUPID_LOG_FILE,
> so I am ignorant with 
> regards to it. Care to educate me? The only file which
> seems to fit the bill 
> in var/ is log.txt, and that is empty.

Setting the env var STUPID_LOG_FILE tells Zope where to log
event messages.

> I quickly looked at stupidFileLogger.py and noticed that
> is not set, logging is done to stderr. AFAICS,
> STUPID_LOG_FILE is not set on 
> my system, and the "start" script does not initiate it.


> If you can tell me how to properly set STUPID_LOG_FILE, I
> can do more testing 
> and tell you about it.

On UNIX (in the "start" shell script):

export STUPID_LOG_FILE='var/debug.log'

If you're on Windows, it's probably something like:

set STUPID_LOG_FILE=c:\path\to\var\debug.log

It may be that the very act of doing this causes your errors
to go away.  Perhaps stderr was disappearing somehow.