aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPjotr Prins2016-06-24 06:51:28 +0000
committerPjotr Prins2016-06-24 06:51:28 +0000
commit764136ff18bd355f7b9dbe91f870919b0a17322e (patch)
tree2636b5c0d68d38e391476b4723a6f005d536b5c8 /etc
parent923e94c39f5768f836dbf5fc29b0186c13ccc86b (diff)
downloadgenenetwork2-764136ff18bd355f7b9dbe91f870919b0a17322e.tar.gz
Log: and document SQL calls
Diffstat (limited to 'etc')
-rw-r--r--etc/default_settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index 29bc2133..d4eb5580 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -10,6 +10,9 @@
#
# Note also that in the near future we will additionally fetch
# settings from a JSON file
+#
+# Note that values for False and 0 have to be strings here - otherwise
+# Flask won't pick them up
import os
import sys
@@ -38,7 +41,7 @@ WEBSERVER_BRANDING = None # Set the branding (nyi)
WEBSERVER_DEPLOY = None # Deployment specifics (nyi)
LOG_LEVEL = 'WARNING' # Logger mode (DEBUG|INFO|WARNING|ERROR|CRITICAL)
-LOG_LEVEL_DEBUG = 1 # Debug log level (0-5) (nyi)
+LOG_LEVEL_DEBUG = '0' # Debug log level (0-5, 0 = show all)
LOG_SQL = 'False' # Log SQL/backend and GN_SERVER calls
LOG_SQLALCHEMY = 'False'
LOG_BENCH = True # Log bench marks