Skip to main content
Logs record what happens in your app’s backend: requests, function output, database activity, sign-ins, and errors. When something misbehaves, this is where you find out why. You can also paste a log entry into the project chat and ask Lovable to fix the problem. To open logs, go to More → Settings → Logs. Requests your app and the project chat send through a connector are not in these logs. You find those in Connector activity.

Log types

Use the log type selector to choose which service’s logs to view: The selector is filtered to your project type: Server logs appears only on TanStack Start projects, and the other types appear on projects with the built-in backend, where Edge logs is the default view.

Search and filter

Three controls narrow down what you see:
  • Search events filters entries by text.
  • The time interval selector offers relative ranges from the last 15 minutes up to the last 5 days, or an absolute range with exact start and end times.
  • A status filter narrows results, for example to error responses only.
Logs do not stream live. Click Refresh to load new entries, and Show more at the bottom to page further back in time. Above the table, Download saves the loaded entries as a JSON file, and Copy copies them to your clipboard. Expand an entry to see its full contents and copy it individually.

FAQ

No. The view shows a snapshot of the selected time range. Click Refresh to see the latest entries.
The relative ranges go back up to 5 days, and you can pick an absolute start and end time for older windows. The range the viewer offers does not tell you how long Lovable keeps your logs. For long-term retention, ask Lovable to build logging or analytics into your app itself.
You’ve requested logs too frequently in a short period. Wait a moment and refresh again.
Not on their own. Logs help you diagnose problems, but they do not prove who made a particular database change.Database, authentication, storage, and edge function logs come from the backend’s own log service, and your app’s server logs are stored separately. How much your database logs about connections can depend on your plan. Enterprise plans can export audit logs. For an export of your app’s logs, contact support.