Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In simple projects where database is only changed via an API, we just audit the API instead. It's easier to display and easier to store than tracking each DB change a single transaction does


That's pretty elegant, compared to a lot of the solutions in this thread. Honestly, it sounds like the what I'll be recommending. Using a logging tool to output JSON events.

But what happens if you need to manually update a record?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: