def start_ioloop(): logging.info("ws_rpc ioloop started") ioloop = tornado.ioloop.IOLoop.instance() ioloop.start() logging.info("ws_rpc ioloop stopped")