vishalanandl177 / DRF-API-Logger

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

500 not logged #70

Closed shashank9487 closed 1 year ago

shashank9487 commented 1 year ago

I have configured the app and tested for 500 status but api does not logged 500 status, though it logged 200, 400. I am following default configuration.

vishalanandl177 commented 1 year ago

It will log only 'ContentType application/json' in Django Rest Framework. If server-side exceptions are not handled properly, you may get HTML results. These won't get logged into the database.

vishalanandl177 commented 1 year ago

Closing due to inactivity.