Hosting and AI

Watch each request a service handles as it happens: when it ran, whether it finished, and what it printed or threw.

Live Logs shows what one service does while it handles requests, newest first: each request’s result, its time, and the lines it printed or the errors it threw. It’s live only: nothing from before you opened it is shown.

Open it

  • In Hosting, touch and hold a service’s row (on the Mac, right-click it) and choose Live Logs.
  • On a Service page, tap Live Logs.

It opens as the next page, with Back to where you came from.

What’s on it

The service’s name heads the page.

Part What it shows or does Default
Status badge Connecting, Live, Disconnected or Unavailable. Connecting
Reconnect Starts the connection again. Only while the badge says Disconnected. —
Errors Only Shows only requests that failed or printed an error. Off
Entries One per request, newest first (see below). —

Under the entries: “Logs are live only. Opening them somewhere else replaces this connection.”

An entry

Part What it shows
Result A check and ok when the request finished, or a cross mark and the result’s name (for example exception) when it didn’t.
Time When the request ran, to the second.
Lines Each line the service printed, tagged DEBUG, INFO, WARN or ERROR, then any error it threw. You can select and copy the text.
“Some lines were left out of this entry.” The request printed more than the entry keeps.

Only one place can watch a service’s logs at a time: opening them on another device, or in another window, takes over the connection and this one says Disconnected.

Messages

Message When What to do
“Waiting for the service to handle a request…” No request has come in since you opened it. Use the app, or wait.
“No errors so far.” Errors Only is on and nothing has failed. —
Disconnected The connection ended, for example because the logs were opened somewhere else. Tap Reconnect.
Unavailable, with the reason and Try Again The logs couldn’t be opened. Tap Try Again.