Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] show debug output when enabled

Thomas Pointhuber9cec9770be27
diff --git a/searx/__init__.py b/searx/__init__.py
index 2d545a809..ea21e8f13 100644
--- a/searx/__init__.py
+++ b/searx/__init__.py
@@ -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)