DRF-API-Logger
DRF-API-Logger copied to clipboard
Additional information saved as part of "API Logs" model
Hi,
Hope all's well.
How do I enhance the logger API to store additional information into the "API Logs" model?
For example, I want to add a new field onto the API Log model to store error conditions for later review. I suppose I can store this as part of the RESPONSE. However, I would like to save it in a different field.
Is this possible?
Cheers, Thuan
Hi @ttpge You can create your model similar to exiting model and use signal to capture and store all the API events.
Closing due to inactivity