[Zope3-checkins] CVS: Zope3/src/zope/app/process - main.py:1.5

Fred L. Drake, Jr. fred at zope.com
Mon Apr 12 14:12:04 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/process
In directory cvs.zope.org:/tmp/cvs-serv27860

Modified Files:
	main.py 
Log Message:
prevent zLOG from automagically clobber the initialization of the
logging configuration


=== Zope3/src/zope/app/process/main.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/process/main.py:1.4	Fri Feb 20 11:57:26 2004
+++ Zope3/src/zope/app/process/main.py	Mon Apr 12 14:12:03 2004
@@ -84,6 +84,10 @@
 
     sys.setcheckinterval(options.check_interval)
 
+    # XXX desparate hack to prevent zLOG from clobber our initialization
+    # zLOG must die!
+    import zLOG
+    zLOG._call_initialize = False
     options.eventlog()
 
     config(options.site_definition)




More information about the Zope3-Checkins mailing list