[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - server.py:1.6

Guido van Rossum guido@python.org
Fri, 22 Nov 2002 12:44:41 -0500


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv23348

Modified Files:
	server.py 
Log Message:
Log the "listening on <address>" message at INFO level.


=== ZODB3/ZEO/zrpc/server.py 1.5 => 1.6 ===
--- ZODB3/ZEO/zrpc/server.py:1.5	Fri Aug 30 17:41:35 2002
+++ ZODB3/ZEO/zrpc/server.py	Fri Nov 22 12:44:40 2002
@@ -17,6 +17,7 @@
 
 from ZEO.zrpc.connection import Connection, Delay
 from ZEO.zrpc.log import log
+import zLOG
 
 # Export the main asyncore loop
 loop = asyncore.loop
@@ -42,7 +43,7 @@
         else:
             self.create_socket(socket.AF_UNIX, socket.SOCK_STREAM)
         self.set_reuse_addr()
-        log("listening on %s" % str(self.addr))
+        log("listening on %s" % str(self.addr), zLOG.INFO)
         self.bind(self.addr)
         self.listen(5)