[Zope] Debugging Zope on Windows
kjzz.webmaster at riomail.maricopa.edu
kjzz.webmaster at riomail.maricopa.edu
Fri Mar 31 16:47:00 EST 2006
I am using Zope 2.5.0 (binary release, python 2.1, win32-x86), and the
python 2.1.3 distribution of from python.org as a service on a Windows 2000
server.
I have heard that there is a way to debug zope and save error messages to a
text file using the "STUPID_LOG_FILE" parameter however I'm not clear on how
to implement this.
I have tried adding the the paramter, STUPID_LOG_FILE=Zope.log to the Z2.py
file.
I modified the command line parameters
"C:\Python21\python.exe" "C:\PROGRA~1\Zope\z2.py" -S
for the registry value at:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Zope\Parameters\start
to
"C:\Python21\python.exe" "C:\PROGRA~1\Zope\z2.py" -S -D
STUPID_LOG_FILE=Zope.log
or should this be
"C:\Python21\python.exe" "C:\PROGRA~1\Zope\z2.py" -S -D
EVENT_LOG_FILE=Zope.log
???
Still, when I restart Zope, I'm not seeing the log file.
Does anyone know how I might set this up properly on a Windows Machine?
Alternatively, has anyone configured the z2.py file (or windows registry) to
use a syslog utility (such as the Kwiki Syslog Daemon), found here:
http://www.kiwisyslog.com/info_syslog.htm
Sincerely,
John T.
More information about the Zope
mailing list