[Zope] Turn off Z2.log

Gilles Lenfant glenfant@bigfoot.com
Mon, 5 Nov 2001 18:57:12 +0100


Hmmm,

Did no try but this should work.
Hack your "start" script and add this option to the line that launches
z2.py:

-l /dev/null

This does not stop logging but logs to nowhere.

HTH

--Gilles

----- Original Message -----
From: "Tom Cameron" <tom@mooball.com>
To: <zope@zope.org>
Sent: Monday, November 05, 2001 8:04 AM
Subject: [Zope] Turn off Z2.log


> How do I turn off the Z2.log logging?
>
> I am running Zope behind apache and I am using apache for all the logging.
I
> have turned on STUPID_LOGFILE, so I really have no need for the Z2.log
file.
> It is just a waste of processing power and disk space.
>
> The flags for the Z2.py file show how to change the location of this file
> but not how to turn it off.
>
> Thanks
> Tom
>
>
> _______________________________________________
> 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 )
>