mirror of
https://github.com/searx/searx
synced 2025-09-03 16:06:05 +00:00
[fix] show debug output when enabled
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user