diff --git a/app/classes/web/tornado.py b/app/classes/web/tornado.py index 7d0aba7c..ced565ea 100644 --- a/app/classes/web/tornado.py +++ b/app/classes/web/tornado.py @@ -113,9 +113,6 @@ class Webserver: logger.info("Starting Web Server on ports http:{} https:{}".format(http_port, https_port)) - console.info("http://{}:{} is up and ready for connection:".format(helper.get_local_ip(), http_port)) - console.info("https://{}:{} is up and ready for connection:".format(helper.get_local_ip(), https_port)) - asyncio.set_event_loop(asyncio.new_event_loop()) tornado.template.Loader('.') @@ -155,6 +152,11 @@ class Webserver: self.HTTPS_Server = tornado.httpserver.HTTPServer(app, ssl_options=cert_objects) self.HTTPS_Server.listen(https_port) + logger.info("http://{}:{} is up and ready for connections.".format(helper.get_local_ip(), http_port)) + logger.info("https://{}:{} is up and ready for connections.".format(helper.get_local_ip(), https_port)) + console.info("http://{}:{} is up and ready for connections.".format(helper.get_local_ip(), http_port)) + console.info("https://{}:{} is up and ready for connections.".format(helper.get_local_ip(), https_port)) + console.info("Server Init Complete: Listening For Connections:") self.ioloop = tornado.ioloop.IOLoop.instance()