Debugging Database Queries¶
To log all database queries, add the following variables to your api/.env
file:
DJANGO_LOG_LEVEL=DEBUG
DJANGO_DATABASE_LOGGING=True
To log all database queries, add the following variables to your api/.env
file:
DJANGO_LOG_LEVEL=DEBUG
DJANGO_DATABASE_LOGGING=True