Logs
Backend logs show a recorded history of what happens behind the scenes in your app, including errors, user sign-ins, and database actions. You can search through these events and paste error details into the chat so Lovable can resolve them.
Anyone whose app is running into backend errors, failed sign-ins, or broken database queries.
Do this, in order
- 1
Go to More, select Settings, and click Logs.
This opens the backend monitoring panel for your project.
- 2
Use the log type dropdown to pick the specific area you want to check, such as Edge logs, Authentication logs, or PostgreSQL logs.
Filtering by service isolates the relevant activity from the rest of your app traffic.
- 3
Adjust the time interval selector or use the status filter to find the failed event.
This helps locate recent failures quickly without scrolling through hundreds of entries.
- 4
Click Refresh if you just triggered the error.
Logs do not stream live automatically, so you need to reload to fetch recent entries.
- 5
Click an entry to expand it, copy the contents, and paste it into the Lovable chat asking for a fix.
Giving Lovable the exact system error output allows it to pinpoint and resolve the problem in your code.
Paste this into your project
Review my backend edge functions and database queries to ensure all potential errors are properly handled and return descriptive error messages so they show up clearly in the backend logs.
Words decoded
- Backend
- The behind-the-scenes part of your software that stores data, checks passwords, and handles tasks you do not see directly on the screen.
- Edge Function
- A small script running on cloud servers that executes quick tasks, like handling a webhook or running secure logic.
Where people get stuck
- Logs do not update automatically in real time; you must click Refresh to view new entries.
- Requests sent through external connectors are not recorded here; they appear under Connector activity instead.
- Refreshing repeatedly in a short period will trigger a 'Rate limit reached' message.
- Standard relative history only reaches back up to 5 days, so you must select custom start and end dates to find older events.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.