[Zope] can not start zope with STUPID_LOG_FILE variable set

Thomas B. Passin tpassin@mitretek.org
Mon, 10 Jun 2002 10:25:44 -0400


[Robert Rottermann]

I try to start zope with the STUPID_LOG_FILE environment variable set like
this:
set STUPID_LOG_FILE="k:\programme\tempzope\stupid.log"

when this variable is set zope crashes when starting up with:
ope\z2.py" -D
Traceback (most recent call last):
  File "K:\Programme\tempzope\z2.py", line 540, in ?
    import ZServer
  File "K:\PROGRA~1\tempzope\ZServer\__init__.py", line 80, in ?
    from HTTPServer import zhttp_server, zhttp_handler
  File "K:\PROGRA~1\tempzope\ZServer\HTTPServer.py", line 56, in ?
    from zLOG import LOG, register_subsystem, BLATHER, INFO, WARNING, ERROR
ImportError: cannot import name LOG

I am running Zope 2.5.1 on NT2000.

[Tom P]
It might not be able to create or open a log file.  Maybe there is a
permission  problem on the file, or a type in the path to the log file.

Cheers,

Tom P