From ce90ea3bd4234a5b9963b9432c022d1ab3f4a98c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 22 Jun 2018 22:45:04 +0200 Subject: [PATCH] settings: set all Lasso logs at the DEBUG level (fixes #22880) Log domain of lasso has changed from lasso to Lasso and libxmlsec and libxml2 errors now are logged in their own domains. --- debian-jessie/debian_config.py | 8 +++++++- debian-wheezy/debian_config.py | 8 +++++++- src/authentic2/settings.py | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/debian-jessie/debian_config.py b/debian-jessie/debian_config.py index 1371eb57..ae98c29c 100644 --- a/debian-jessie/debian_config.py +++ b/debian-jessie/debian_config.py @@ -99,7 +99,13 @@ LOGGING = { 'level': 'WARNING', }, # lasso has the bad habit of logging everything as errors - 'lasso': { + 'Lasso': { + 'filters': ['force_debug'], + }, + 'libxml2': { + 'filters': ['force_debug'], + }, + 'libxmlsec': { 'filters': ['force_debug'], }, '': { diff --git a/debian-wheezy/debian_config.py b/debian-wheezy/debian_config.py index 3df62973..88ce2769 100644 --- a/debian-wheezy/debian_config.py +++ b/debian-wheezy/debian_config.py @@ -100,7 +100,13 @@ LOGGING = { 'propagate': True, }, # lasso has the bad habit of logging everything as errors - 'lasso': { + 'Lasso': { + 'filters': ['force_debug'], + }, + 'libxml2': { + 'filters': ['force_debug'], + }, + 'libxmlsec': { 'filters': ['force_debug'], }, '': { diff --git a/src/authentic2/settings.py b/src/authentic2/settings.py index d35e1815..7b77e206 100644 --- a/src/authentic2/settings.py +++ b/src/authentic2/settings.py @@ -261,7 +261,13 @@ LOGGING = { 'level': 'WARNING', }, # lasso has the bad habit of logging everything as errors - 'lasso': { + 'Lasso': { + 'filters': ['force_debug'], + }, + 'libxml2': { + 'filters': ['force_debug'], + }, + 'libxmlsec': { 'filters': ['force_debug'], }, '': { -- 2.18.0