Skip to content
Snippets Groups Projects
Commit 05fa81fe authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

A reliable logger.info() message /after/ the TCP port has been opened and is...

A reliable logger.info() message /after/ the TCP port has been opened and is listening; this is essential for avoiding races in wrapper scripts e.g. integration testing
parent 71095f4e
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,7 @@ class SynapseHomeServer(HomeServer):
def start_listening(self, port):
reactor.listenTCP(port, Site(self.root_resource))
logger.info("Synapse now listening on port %d", port)
def setup_logging(verbosity=0, filename=None, config_path=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment