mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
SearXNG: environment variables
This commit is contained in:
parent
e39a03cc61
commit
430babca25
9 changed files with 47 additions and 25 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue