[Zope] STUPID_FILE_LOGGER

Evan Simpson evan@4-am.com
Tue, 27 Jun 2000 12:50:43 -0400


----- Original Message -----
From: Andy McKay <AndyM@ActiveState.com>
> 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?
>
> "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

Lose the "-D".  Debug mode *always* logs to stderr, regardless of any other
logging arrangements.

Cheers,

Evan @ digicool & 4-am