🔊(backend) enable debug logs in development
Enhance developer experience, unmuting some debug information, that weren't taken into account.
This commit is contained in:
committed by
aleb_the_flash
parent
78818ba541
commit
bb5058c478
@@ -515,6 +515,24 @@ class Development(Base):
|
||||
|
||||
USE_SWAGGER = True
|
||||
|
||||
LOGGING = values.DictValue(
|
||||
{
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
"handlers": {
|
||||
"console": {
|
||||
"class": "logging.StreamHandler",
|
||||
},
|
||||
},
|
||||
"loggers": {
|
||||
"core": {
|
||||
"handlers": ["console"],
|
||||
"level": "DEBUG",
|
||||
},
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
# pylint: disable=invalid-name
|
||||
self.INSTALLED_APPS += ["django_extensions", "drf_spectacular_sidecar"]
|
||||
|
||||
Reference in New Issue
Block a user