[Checkins] CVS: Packages/Zope/Startup - __init__.py:1.7.2.6.4.1
Jim Fulton
jim at zope.com
Thu May 4 17:16:58 EDT 2006
Update of /cvs-repository/Packages/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv28436/lib/python/Zope/Startup
Modified Files:
Tag: zc-Zope-2-7-5
__init__.py
Log Message:
Added trace log entry for server startup and (normal) shutdown.
=== Packages/Zope/Startup/__init__.py 1.7.2.6 => 1.7.2.6.4.1 ===
--- Packages/Zope/Startup/__init__.py:1.7.2.6 Fri Jan 14 14:48:20 2005
+++ Packages/Zope/Startup/__init__.py Thu May 4 17:16:55 2006
@@ -64,11 +64,14 @@
# the mainloop.
try:
import ZServer
+ import ZServer.DebugLogger
import Lifetime
+ ZServer.DebugLogger.log('S', 0)
Lifetime.loop()
import zLOG
zLOG.LOG('Zope', zLOG.INFO,
'Shutting down with exit code %s' % ZServer.exit_code)
+ ZServer.DebugLogger.log('X', 0)
sys.exit(ZServer.exit_code)
finally:
starter.unlinkLockFile()
More information about the Checkins
mailing list