1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-18 03:21:36 +02:00

warning is enough

This commit is contained in:
Florent Daigniere 2023-04-20 18:01:16 +02:00
parent 281800d946
commit 21982478fb

View File

@ -80,7 +80,7 @@ def set_env(required_secrets=[], log_filters=[], log_file=None):
log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", 'WARNING'))
if 'LD_PRELOAD' in os.environ and not _is_compatible_with_hardened_malloc():
log.error('Disabling hardened-malloc on this CPU')
log.warning('Disabling hardened-malloc on this CPU')
del os.environ['LD_PRELOAD']
""" This will set all the environment variables and retains only the secrets we need """