[Zope] zope as win32 service and stupid_log_file

Christian Theune ct@gocept.com
Thu, 7 Mar 2002 14:41:21 +0100


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\Parameters\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'])