From 7dd8a0ad2d350e634311189f9dc8cde48f8928c5 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Sun, 30 Apr 2023 21:44:07 +1000 Subject: [PATCH] Set logging level to INFO and xmlschema logging to WARNING This eliminates the noisy messages about XML namespaces on startup and during management commands. --- pinaxcon/settings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index 858681a1..1e8258be 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -344,10 +344,15 @@ LOGGING = { 'level': 'DEBUG', 'propagate': True, }, + 'xmlschema': { + 'handlers': ['console'], + 'level': 'WARNING', + 'propagate': False, + }, }, 'root': { 'handlers': ['console', 'djdt_log'], - 'level': 'DEBUG' + 'level': 'INFO' }, } FIXTURE_DIRS = [