Set logging level to INFO and xmlschema logging to WARNING

This eliminates the noisy messages about XML namespaces on startup and during
management commands.
This commit is contained in:
Ben Sturmfels 2023-04-30 21:44:07 +10:00
parent 6af1e594ad
commit 7dd8a0ad2d
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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 = [