Logs and live debugging
See every request with its input, output, logs and timing — and watch requests arrive in real time.
#The invocation log
Every request and run is recorded with:
- Time, function, method, status and duration.
- Draft or live.
- Query, headers and request body.
- Response body.
- Everything your code printed (
console.log,print) and any error with its stack trace.
Bodies are truncated to the first 2,000 characters, and credentials in headers such as authorization, cookie and x-api-key are masked.
Open a project's Logs to search and filter by function, status, test or live, and errors only.
How long logs are kept depends on the plan: 7 days on Starter, 14 days on Pro, 30 days on Business and during the trial. Metrics are kept for 90 days.
#Live debugging
To watch requests as they happen, open an function, switch to the Live tab and press Start. Each request appears within moments with its input, output and logs — handy while you click through your frontend or replay a webhook.
#From the command line
wisp logs -f # follow every function
wisp logs -e orders --errors # errors from one function
wisp logs --grep "timeout" # search
wisp dev # push on every save and follow the log#Ask the assistant
"Why does POST /orders fail?" — the assistant reads recent logs and storage before changing code, and explains what it found.