[Zope-Checkins] CVS: Zope3 - z3.py:1.1.2.11
Shane Hathaway
shane@digicool.com
Tue, 27 Nov 2001 12:15:24 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv20650
Modified Files:
Tag: Zope-3x-branch
z3.py
Log Message:
Enabled verbosity and logging for main Zope app
=== Zope3/z3.py 1.1.2.10 => 1.1.2.11 ===
from Zope.Server.PublisherServers import PublisherHTTPServer
from Zope.Server.TaskThreads import ThreadedTaskDispatcher
+from Zope.Server.HTTPServer import CommonHitLogger
# temp hack
@@ -50,11 +51,13 @@
tasks = ThreadedTaskDispatcher()
tasks.setThreadCount(4)
+hit_log = CommonHitLogger()
PublisherHTTPServer(request_payload, response_payload,
- '', 8080, tasks=tasks)
+ '', 8080, tasks=tasks, verbose=1, hit_log=hit_log)
try:
asyncore.loop()
except KeyboardInterrupt:
+ # Exit without spewing an exception.
pass
sys.exit(0)