summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-09-06 19:47:50 +0200
committerAlexandre Flament <alex@al-f.net>2021-09-10 21:49:34 +0200
commit577998106aed4c3df5cda8f6af77d55dda8ef60c (patch)
treedb79fe4346ffbbadaa1995b12d321e8c4057c260 /tests
parentb513917ef94d2f18e6db3228363f8089ce1ba08a (diff)
downloadsearxng-577998106aed4c3df5cda8f6af77d55dda8ef60c.tar.gz
searxng-577998106aed4c3df5cda8f6af77d55dda8ef60c.zip
[mod] debug mode: use coloredlogs package
in debug mode, add some padding to make the output more readable in procution mode, add the timestamp
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index d4b101cc4..23e62f040 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -3,6 +3,7 @@ import os
import aiounittest
os.environ['SEARX_DEBUG'] = '1'
+os.environ['SEARX_DEBUG_LOG_LEVEL'] = 'WARNING'
os.environ['SEARX_DISABLE_ETC_SETTINGS'] = '1'
os.environ.pop('SEARX_SETTINGS_PATH', None)