Log all (wish I knew about that earlier)

This commit is contained in:
Emily 2019-03-11 14:47:02 +01:00
parent 6aafe55ecb
commit 0359b4bf72

View File

@ -75,4 +75,5 @@ if __name__ == "__main__":
print("Serving at %s:%s" % (glob.config["server"]["host"], glob.config["server"]["port"])) print("Serving at %s:%s" % (glob.config["server"]["host"], glob.config["server"]["port"]))
print("To stop server press CTRL + C") print("To stop server press CTRL + C")
glob.app.listen(glob.config["server"]["port"], address=glob.config["server"]["host"]) glob.app.listen(glob.config["server"]["port"], address=glob.config["server"]["host"])
tornado.log.enable_pretty_logging()
tornado.ioloop.IOLoop.instance().start() tornado.ioloop.IOLoop.instance().start()