[Zope-Checkins] CVS: Zope - z2.py:1.73

Chris McDonough chrism@zope.com
Sat, 15 Jun 2002 10:57:12 -0400


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv2975

Modified Files:
	z2.py 
Log Message:
Import zdaemon before ZSever in order to allow events logging to work.


=== Zope/z2.py 1.72 => 1.73 ===
     set_locale(LOCALE_ID)
 
+import zdaemon
 # from this point forward we can use the zope logger
+# importing ZDaemon before importing ZServer causes ZServer logging
+# not to work.
 
 # Import ZServer before we open the database or get at interesting
 # application code so that ZServer's asyncore gets to be the
 # official one. Also gets SOFTWARE_HOME, INSTANCE_HOME, and CLIENT_HOME
 import ZServer
-import zdaemon
 
 # install signal handlers
 from SignalHandler import SignalHandler