diff --git a/rsconcept/backend/project/settings.py b/rsconcept/backend/project/settings.py index e2b573bc..e0ea326b 100644 --- a/rsconcept/backend/project/settings.py +++ b/rsconcept/backend/project/settings.py @@ -165,10 +165,10 @@ SPECTACULAR_SETTINGS = { 'DISABLE_ERRORS_AND_WARNINGS': False, - "SWAGGER_UI_SETTINGS": { - "deepLinking": True, - "persistAuthorization": True, - "withCredentials": True + 'SWAGGER_UI_SETTINGS': { + 'deepLinking': True, + 'persistAuthorization': True, + 'withCredentials': True } } @@ -206,3 +206,18 @@ USE_TZ = True # https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' + + +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'handlers': { + 'console': { + 'class': 'logging.StreamHandler', + }, + }, + 'root': { + 'handlers': ['console'], + 'level': 'DEBUG', + }, +}