[Zope] zope as win32 service and stupid_log_file

Cornelis J. de Brabander brabander@fsw.LeidenUniv.nl
Fri, 08 Mar 2002 10:58:18 +0100


OK, this did the trick. Thank you and other responders to this question.
cb

Cornelis J. de Brabander
==========================================
Department of Education, Leiden University
P.O.Box 9555, NL-2300 RB Leiden
+31 71 527 3422/3401
brabander@fsw.leidenuniv.nl
==========================================

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Christian Theune
> Sent: donderdag 7 maart 2002 14:41
> To: zope@zope.org
> Subject: Re: [Zope] zope as win32 service and stupid_log_file
>
>
> I would do:
>
> ""E:\zope\243\bin\python.exe" "E:\zope\243\z2.py" -S -D
> STUPID_LOG_FILE=Z2_DETAIL.log"
>
> or something like that.
>
> On Thu, Mar 07, 2002 at 02:17:07PM +0100, Cornelis J. de Brabander wrote:
> > >
> > This looks to me as the way to go, but how do I do that?
> > I have a registry key that starts the service:
> >
> "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\zope243\Para
> meters\sta
> > rt"
> > Currently its value reads:
> > ""E:\zope\243\bin\python.exe" "E:\zope\243\z2.py" -S -D"
> > Do I have to create another parameter with the name
> "STUPID_LOG_FILE" and
> > value "E:\zope\243\var\stupid_log_file.log" or something similar?
> >
> > tia
> >
> >
>
> Greetings
>
> Christian
>
> --
> Christian Theune - ct@gocept.com
> gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
> tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981
>
> reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])