mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Show stack traces in stdout on standalone helpdesk
This commit is contained in:
parent
d6764cd4fb
commit
d09c35a881
@ -229,3 +229,20 @@ MEDIA_ROOT = '/data/media'
|
||||
|
||||
# for Django 3.2+, set default for autofields:
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
||||
LOGGING = {
|
||||
'version': 1,
|
||||
'disable_existing_loggers': False,
|
||||
'handlers': {
|
||||
'console': {
|
||||
'class': 'logging.StreamHandler',
|
||||
},
|
||||
},
|
||||
'loggers': {
|
||||
'django': {
|
||||
'handlers': ['console'],
|
||||
'level': 'ERROR', # Change to 'DEBUG' if you want to print all debug messages as well
|
||||
'propagate': True,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user