vishalanandl177 / DRF-API-Logger

An API Logger for your Django Rest Framework project.
https://github.com/vishalanandl177/DRF-API-Logger
Apache License 2.0
308 stars 56 forks source link

Listen for server exits #98

Open Kelvin4664 opened 3 months ago

Kelvin4664 commented 3 months ago

Whenever db logger is enabled, it prevents database connection from being terminated. This plays out during clean up after running tests. It fails when attempting to destroy the db with error message: django.db.utils.OperationalError: database "test_db" is being accessed by other users