summaryrefslogtreecommitdiff
path: root/searx/__init__.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-02 12:21:02 +0200
committerAlexandre Flament <alex@al-f.net>2021-10-02 16:54:11 +0200
commit430babca253369d82e864500118f914a9420f74b (patch)
treebed242205b23585a485911a344dd478dce6a6f76 /searx/__init__.py
parente39a03cc61e9792afb34084fb4d9973a61deecea (diff)
downloadsearxng-430babca253369d82e864500118f914a9420f74b.tar.gz
searxng-430babca253369d82e864500118f914a9420f74b.zip
SearXNG: environment variables
Diffstat (limited to 'searx/__init__.py')
-rw-r--r--searx/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/__init__.py b/searx/__init__.py
index 93ad76bb1..b1626ae9f 100644
--- a/searx/__init__.py
+++ b/searx/__init__.py
@@ -62,7 +62,7 @@ def logging_config_debug():
except ImportError:
coloredlogs = None
- log_level = os.environ.get('SEARX_DEBUG_LOG_LEVEL', 'DEBUG')
+ log_level = os.environ.get('SEARXNG_DEBUG_LOG_LEVEL', 'DEBUG')
if coloredlogs and is_color_terminal():
level_styles = {
'spam': {'color': 'green', 'faint': True},