[Zodb-checkins] CVS: ZODB3/ZEO/tests - winserver.py:1.8

Guido van Rossum guido@python.org
Wed, 18 Sep 2002 21:55:45 -0400


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv5301

Modified Files:
	winserver.py 
Log Message:
Log the map at DEBUG level, not BLATHER.
Add the pid to the label.


=== ZODB3/ZEO/tests/winserver.py 1.7 => 1.8 ===
--- ZODB3/ZEO/tests/winserver.py:1.7	Sun Sep 15 00:31:42 2002
+++ ZODB3/ZEO/tests/winserver.py	Wed Sep 18 21:55:45 2002
@@ -63,8 +63,9 @@
     t = ZEOTestServer(('', test_port), storage)
     serv = ZEO.StorageServer.StorageServer(('', zeo_port), {'1': storage})
     import zLOG
+    label = "winserver:%d" % os.getpid()
     while asyncore.socket_map:
-        zLOG.LOG("winserver", zLOG.BLATHER, "map: %r" % asyncore.socket_map)
+        zLOG.LOG(label, zLOG.DEBUG, "map: %r" % asyncore.socket_map)
 	asyncore.poll(30.0)
 
 if __name__ == "__main__":