Add optional query logging

This commit is contained in:
Tanner Collin 2023-05-25 20:36:10 +00:00
parent 8f05ba9884
commit d1e4f2ca9d

View File

@ -250,6 +250,11 @@ LOGGING = {
}, },
}, },
'loggers': { 'loggers': {
#'django.db.backends': {
# 'handlers': ['console'],
# 'level': 'DEBUG',
# 'propagate': False,
# },
'gunicorn': { 'gunicorn': {
'handlers': ['console'], 'handlers': ['console'],
'level': 'DEBUG' if DEBUG else 'INFO', 'level': 'DEBUG' if DEBUG else 'INFO',