[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup -
__init__.py:1.7.2.3
Fred L. Drake, Jr.
fred at zope.com
Thu Oct 2 16:32:53 EDT 2003
Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv8956
Modified Files:
Tag: Zope-2_7-branch
__init__.py
Log Message:
log the shutdown event
=== Zope/lib/python/Zope/Startup/__init__.py 1.7.2.2 => 1.7.2.3 ===
--- Zope/lib/python/Zope/Startup/__init__.py:1.7.2.2 Sat Aug 2 01:48:10 2003
+++ Zope/lib/python/Zope/Startup/__init__.py Thu Oct 2 16:32:53 2003
@@ -64,6 +64,9 @@
import ZServer
import Lifetime
Lifetime.loop()
+ import zLOG
+ zLOG.LOG('Zope', zLOG.INFO,
+ 'Shutting down with exit code %s' % ZServer.exit_code)
sys.exit(ZServer.exit_code)
finally:
starter.unlinkLockFile()
More information about the Zope-Checkins
mailing list