mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
Enable backend logging for production
Revert "Enable backend logging for production" This reverts commit c355cd4c2c2ea4874307ecf08dff8d33bb1f707a. Fix backend logging
This commit is contained in:
parent
27f346715e
commit
9d04a4108b
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user