Speeding up Zope by disabling logging of hits
I'm using zope behind a front-end server and don't require any logging of hits. Is there a way to disable Zserver hit logging to increase speed and decrease disk utilisation? (I suppose I can send output to /dev/null, but that doesn't stop the logging code from being executed, and I would also lose error logging.) Even better would be the ability to disable logging based on IP address of the requester. Thanks. David Trudgett
One of the settings in your z2.py is below. You could play around with that. J -M file Save detailed logging information to the given file. This log includes separate entries for: - The start of a request, - The start of processing the request in an application thread, - The start of response output, and - The end of the request.
From: David Trudgett <dkt@registriesltd.com.au> Date: Thu, 10 Aug 2000 18:31:50 -1000 To: zope@zope.org Subject: [Zope] Speeding up Zope by disabling logging of hits
I'm using zope behind a front-end server and don't require any logging of hits. Is there a way to disable Zserver hit logging to increase speed and decrease disk utilisation? (I suppose I can send output to /dev/null, but that doesn't stop the logging code from being executed, and I would also lose error logging.) Even better would be the ability to disable logging based on IP address of the requester.
Thanks.
David Trudgett
_______________________________________________ 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 )
participants (2)
-
David Trudgett -
J. Atwood