diff options
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r-- | wqflask/runserver.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py index bf73ed37..7bd82619 100644 --- a/wqflask/runserver.py +++ b/wqflask/runserver.py @@ -11,5 +11,11 @@ from wqflask import app # # For more info see: http://www.cyberciti.biz/faq/iptables-block-port/ +import logging +logging.basicConfig(filename="/tmp/flask_gn_log", level=logging.INFO) + +_log = logging.getLogger("search") +_ch = logging.StreamHandler() +_log.addHandler(_ch) app.run(host='0.0.0.0') |