feat(settings): Add console logging
This commit is contained in:
parent
59fa740950
commit
91d5d68da3
1 changed files with 17 additions and 0 deletions
|
@ -62,6 +62,23 @@ MIDDLEWARE = [
|
||||||
"allauth.account.middleware.AccountMiddleware",
|
"allauth.account.middleware.AccountMiddleware",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
###
|
||||||
|
# Logging configuration
|
||||||
|
|
||||||
|
LOGGING = {
|
||||||
|
"version": 1,
|
||||||
|
"disable_existing_loggers": False,
|
||||||
|
"handlers": {
|
||||||
|
"console": {
|
||||||
|
"class": "logging.StreamHandler",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"handlers": ["console"],
|
||||||
|
"level": credentials.get("LOG_LEVEL", "WARNING"),
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
# The main url configuration
|
# The main url configuration
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue