settings.py: add (commented) logging for sql queries
This commit is contained in:
@ -83,6 +83,11 @@ LOGGING = {
|
||||
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
|
||||
'propagate': True,
|
||||
},
|
||||
# 'django.db.backends': {
|
||||
# 'level': 'DEBUG',
|
||||
# 'handlers': ['console', 'file'],
|
||||
# 'propagate': True,
|
||||
# }
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user