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

Storing Tracing ID in Database #87

Closed mimustafa closed 3 months ago

mimustafa commented 9 months ago

The logger has good options to enable tracing id but it is never saved in the database. It would be good enhancement if the tracing ID is stored in the database as well. So that it can be used as Correlation ID for linking it with other Django log apps and Django logging.

vishalanandl177 commented 3 months ago

Hi @mimustafa, You can create a custom model similar to exiting model and use signal to capture and store all the API events.