[Zodb-checkins] CVS: Packages/ZEO - start.py:1.25

Shane Hathaway shane@digicool.com
Mon, 30 Jul 2001 17:08:47 -0400


Update of /cvs-repository/Packages/ZEO
In directory cvs.zope.org:/tmp/cvs-serv17739

Modified Files:
	start.py 
Log Message:
Used _set_stupid_dest function instead of poking at zLOG when possible.

 
=== Packages/ZEO/start.py 1.24 => 1.25 ===
     else:
         # Hm, lets at least try to take care of the stupid logger:
-        zLOG._stupid_dest=None
+        if hasattr(zLOG, '_set_stupid_dest'):
+            zLOG._set_stupid_dest(None)
+        else:
+            zLOG._stupid_dest = None
 
 def rotate_logs_handler(signum, frame):
     rotate_logs()