aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
authorPjotr Prins2016-06-18 07:36:14 +0000
committerPjotr Prins2016-06-18 07:36:14 +0000
commit3a59631a4a95f4b4a1911e3a10912cdcbdf31200 (patch)
treee9de0dd9d919ee5d27b3faa1698a37eeec18cba6 /wqflask/utility/tools.py
parentc93dfd2a6343690fdcfcb4b5dcb231f0ee4dc8fd (diff)
downloadgenenetwork2-3a59631a4a95f4b4a1911e3a10912cdcbdf31200.tar.gz
Logging: behaviours
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r--wqflask/utility/tools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 958f7b15..08495c2f 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -5,6 +5,7 @@ import os
import sys
from wqflask import app
+# Use the standard logger here to avoid a circular dependency
import logging
logger = logging.getLogger(__name__ )
logging.basicConfig(level=logging.INFO)
@@ -135,7 +136,7 @@ def tempdir():
# Cached values
WEBSERVER_MODE = get_setting('WEBSERVER_MODE')
-LOGGING = get_setting('LOGGING')
+LOG_LEVEL = get_setting('LOG_LEVEL')
DEBUG_LOG_LEVEL = get_setting('DEBUG_LOG_LEVEL')
LOG_SQL = get_setting('LOG_SQL') in [True,'TRUE','True','true']
USE_REDIS = get_setting('USE_REDIS') in [True,'TRUE','True','true']