Re:Ask HN: How do you implement audit trail for a product?
by cmrajan on Friday February 18, 2022 @11:12PM
(#30394369)
A basic audit-trail can be implemented by using Postresql triggers [1]. It logs client IP, statement, before & after changes and can be enabled on selected tables.
[1] https://wiki.postgresql.org/wiki/Audit_trigger_91plus
[ Parent
| on HN ]
There are no comments on this comment yet.