Changeset - 7dd8a0ad2d35
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 16 months ago 2023-04-30 11:59:55
ben@sturm.com.au
Set logging level to INFO and xmlschema logging to WARNING

This eliminates the noisy messages about XML namespaces on startup and during
management commands.
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -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 = [
0 comments (0 inline, 0 general)