[Zope] STUPID_FILE_LOGGER

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


The document by Amos (http://www.zope.org/Documentation/Misc/LOGGING.txt)
says set the
"STUPID_FILE_LOGGER" variable. That doesnt work but STUPID_LOG_FILE does. I
just set it in the command line:

"C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D STUPID_LOG_FILE="C:\zope.log"

Thanks.

----- Original Message -----
From: "Loren Stafford" <lstafford@icompression.com>
To: "Andy McKay" <AndyM@ActiveState.com>; <zope@zope.org>
Sent: Tuesday, June 27, 2000 11:04 AM
Subject: RE: [Zope] STUPID_FILE_LOGGER


> I develop on Win98 with MKS tools. Using the MKS shell, this is what works
> for me, but may not be relevnt to you:
>
>  C:/Zope220b3/bin/python.exe C:/Zope220b3/z2.py -D
> STUPID_LOG_FILE=C:/Zope220b3/var/stupidlog.txt
>
> Before I started using MKS shell, I just set STUPID_LOG_FILE in the
> environment before starting Zope:
>
>    set STUPID_LOG_FILE=C:\Zope\var\zopeapp.log
>
> If you don't find another solution, try the FrozenLogger product, which
sets
> STUPID_LOG_FILE for you from inside Zope.
> http://www.zope.org/Members/lstaffor/FrozenLogger
>
> -- Loren
>
> > -----Original Message-----
> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Andy
> > McKay
> > Sent: Tuesday, June 27, 2000 08:59
> > To: zope@zope.org
> > Subject: [Zope] STUPID_FILE_LOGGER
> >
> >
> > 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.
> >
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>