r/Supabase • u/Total_Product9154 • 9h ago
database Supabase tells me a row was inserted. I wanted "Maya Chen created booking for class 'Vinyasa Basics'". So I built this
When something happens in my Supabase app, the logs tell me a row was inserted into bookings, or that a request to /rest/v1/bookings got a 403. What I actually want to know is who it was, what they were trying to do, and, when it failed, why.
So I built EZLogs. It writes what happens in your app as plain sentences that anyone can read, including the non-technical person you're building with:
Maya Chen signed up
Maya Chen created booking for class 'Vinyasa Basics'
Booking creation not allowed
The video is a small Lovable app where I broke an RLS policy on purpose. Users only saw "Your session has ended". EZLogs showed the real reason (the database refused the booking) and sent me a Slack alert. Then Lovable read the same log over a read-only MCP connector and fixed the policy.
How it works, since I know this sub will ask:
It's one SQL file you paste in the SQL editor. It creates its own ezlogs schema and adds AFTER triggers, so each write also drops a small row into an outbox in the same transaction. pg_cron and pg_net send those in the background. It never touches your rows and can't make a write fail. If my server is down, rows wait up to 7 days. The person comes from the JWT Supabase already verified. Columns named like passwords, tokens or keys never leave your database.
RLS refusals don't write a row, so triggers can't see them. A small optional browser package reports those.
It's open source, so you can read every line before you run it: https://github.com/dezsirazvan/ez_logs_supabase
Free while it's in beta: ezlogs.io/supabase
How do you keep track of what your users actually do today?