diff options
author | Alexandre Flament <alex@al-f.net> | 2021-09-06 19:47:50 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-09-10 21:49:34 +0200 |
commit | 577998106aed4c3df5cda8f6af77d55dda8ef60c (patch) | |
tree | db79fe4346ffbbadaa1995b12d321e8c4057c260 /tests | |
parent | b513917ef94d2f18e6db3228363f8089ce1ba08a (diff) | |
download | searxng-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__.py | 1 |
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) |