'Want to build custom Audit logging

We have a enterprise application in django, want to do few enhancements Enhancements :

  1. i don't want to save log change data in django_admin_logs table in db, instead of this , we have a external service where we want to append all the logs there ,

  2. There is a history page in django when we click on the models data , on history page what we want is to show data on that page by making a get call to audit service

  3. When we changed something in the entry we want to make a post call to audit service and with old and new data

Can someone explain how can i achieve that



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source