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.
kjzz.webmaster@riomail.maricopa.edu wrote at 2006-3-31 14:47 -0700:
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.
You use your OS way to set environment variables. I think, Windows uses "set envvar=<value>". -- Dieter
Dieter Maurer wrote:
kjzz.webmaster@riomail.maricopa.edu wrote at 2006-3-31 14:47 -0700:
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.
You use your OS way to set environment variables. I think, Windows uses "set envvar=<value>".
...and it'll need to go in runzope.bat, if 2.5 actually has that... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On 4/3/06, Chris Withers <chris@simplistix.co.uk> wrote:
...and it'll need to go in runzope.bat, if 2.5 actually has that...
My memory of 2.5 is hazy, but I think it was called start.bat then. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
participants (4)
-
Chris Withers -
Dieter Maurer -
kjzz.webmaster@riomail.maricopa.edu -
Lennart Regebro