def main():
# debug|info|warning|error|none ????
tornado.options.options.logging = "info"
tornado.options.parse_command_line()
http_server = tornado.httpserver.HTTPServer(application)
http_server.listen(options.port)
tornado.ioloop.IOLoop.instance().start()
评论列表
文章目录