mirror of
https://github.com/searxng/searxng.git
synced 2024-12-23 01:36:29 +00:00
[fix] show debug output when enabled
This commit is contained in:
parent
3a8eafcc6b
commit
9cec9770be
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ else:
|
|||
with open(settings_path) as settings_yaml:
|
||||
settings = load(settings_yaml)
|
||||
|
||||
if settings.get('server', {}).get('debug'):
|
||||
if settings.get('general', {}).get('debug'):
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
else:
|
||||
logging.basicConfig(level=logging.WARNING)
|
||||
|
|
Loading…
Reference in a new issue