Re:Soft deletion probably isn't worth it
by sverhagen on Wednesday July 20, 2022 @01:23AM
(#32161763)
Any tools you recommend here? Or just roll your own with triggers in the database?
[ Parent
| on HN ]
Re:Soft deletion probably isn't worth it
by gunnarmorling on Wednesday July 20, 2022 @02:42AM
(#32162319)
Log-based change data capture is a great tool for building audit logs; unlike triggers, it doesn't impact write performance, you don't need to maintain triggers in the first place, and you can have you audit log in a system separate from your main database.
Blogged about one possible implementation using Debezium a while ago here: https://debezium.io/blog/2019/10/01/audit-logs-with-change-d...
Disclaimer: I work on Debezium
Re:Soft deletion probably isn't worth it
by gmiller123456 on Wednesday July 20, 2022 @09:44AM
(#32165697)
I think you'll find that most operating systems have this built in, syslog for Linux and the event log on Windows. We actually use SPLUNK which has lots of tools for collecting data from apps using different methods, and also tools for viewing and querying the data.