Commit 80e68aea authored by Guido van Rossum's avatar Guido van Rossum

Log the "listening on <address>" message at INFO level.

parent 6c0ddfb8
......@@ -17,6 +17,7 @@ import types
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 @@ class Dispatcher(asyncore.dispatcher):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment