[Zope] STUPID_FILE_LOGGER

Andy McKay AndyM@ActiveState.com
Tue, 27 Jun 2000 08:58:39 -0700


Hi,

Im trying to run Zope on Win2k and use the stupid_file_logger. No matter
what I seem to do to the command line or z2.py I still get the logs going to
stderr (ie ms-dos console). Can anyone help?

Here are command lines I have tried:

"C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D
STUPID_FILE_LOGGER="c:\\zope.log" %1 %2 %3 %4 %5 %6 %7 %8 %9
"C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D STUPID_FILE_LOGGER="c:\Zope.log"
%1 %2 %3 %4 %5 %6 %7 %8 %9
"C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D "STUPID_FILE_LOGGER=c:\zope.log"
%1 %2 %3 %4 %5 %6 %7 %8 %9

etc..

I was hoping to write my own Logger, but when they didnt work to well I
thought using the stupid_file_logger would suffice...

Thanks.