From 527d7ef6712b26e1ae05ea3981ca1daa2147baad Mon Sep 17 00:00:00 2001 From: Col Crunch Date: Fri, 13 Mar 2020 04:42:09 -0400 Subject: [PATCH] Change level of `extension_file` handler, rename the logger from `allianceauth.extensions` to `extensions` and remove `propagate` from the logger. --- allianceauth/project_template/project_name/settings/base.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/allianceauth/project_template/project_name/settings/base.py b/allianceauth/project_template/project_name/settings/base.py index fdcf679c..d438ed83 100644 --- a/allianceauth/project_template/project_name/settings/base.py +++ b/allianceauth/project_template/project_name/settings/base.py @@ -219,7 +219,7 @@ LOGGING = { 'backupCount': 5, # edit this line to change number of log backups }, 'extension_file': { - 'level': 'INFO', + 'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': os.path.join(BASE_DIR, 'log/extensions.log'), 'formatter': 'verbose', @@ -242,10 +242,9 @@ LOGGING = { 'handlers': ['log_file', 'console', 'notifications'], 'level': 'DEBUG', }, - 'allianceauth.extensions': { + 'extensions': { 'handlers': ['extension_file', 'console'], 'level': 'DEBUG', - 'propagate': False, }, 'django': { 'handlers': ['log_file', 'console'],