Tail production logs and list deployments
cloudflare pages
// what it does
`deployment tail` livestreams `console.log` output and errors from your deployed Pages Functions so you can debug production in real time. `deployment list` shows recent deployments with their IDs, branches, and URLs — use it to find a deployment ID or confirm what's live.
// shell
$ wrangler pages deployment tail --project-name my-app$ wrangler pages deployment list --project-name my-app// gotcha
Only Pages Functions emit logs — a purely static site has nothing to tail; tail attaches to the latest production deployment unless you pass a specific deployment ID.