feat(logging): Log messages to console

This commit is contained in:
sinavir 2025-01-17 12:58:26 +01:00
parent 10b10accd6
commit b39b57bc01
No known key found for this signature in database

View file

@ -194,3 +194,19 @@ CAS_IGNORE_REFERER = True
CAS_LOGIN_MSG = None
CAS_LOGIN_URL_NAME = "accounts:cas_ng_login"
CAS_LOGOUT_URL_NAME = "accounts:cas_ng_logout"
# Logging
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "WARNING",
},
}