Log all (wish I knew about that earlier)
This commit is contained in:
parent
6aafe55ecb
commit
0359b4bf72
1
main.py
1
main.py
|
@ -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()
|
Loading…
Reference in New Issue
Block a user