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
This commit is contained in:
parent
71095f4e6e
commit
05fa81fee4
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue