aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
diff options
context:
space:
mode:
authorSam Ockman2012-06-01 02:03:02 -0400
committerSam Ockman2012-06-01 02:03:02 -0400
commit63297d5f4eb61541cb98dcbca668410f6550257a (patch)
tree92e75cedd15ac33dc8e2e193c7467c7af12f62c3 /wqflask/runserver.py
parentf20f85afaba408e04852e04cd75faa45662d1724 (diff)
downloadgenenetwork2-63297d5f4eb61541cb98dcbca668410f6550257a.tar.gz
Views and templates modified to allow template analysis
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r--wqflask/runserver.py6
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')