npx wrangler pages deployment tail --project-name my-site

Category: Cloudflare

npx wrangler pages deployment tail --project-name my-site

Stream live logs from a Pages deployment

Livestreams console logs and errors from the project's Functions, defaulting to the latest production deployment. Pass a deployment ID or URL positionally to tail a specific one, and --environment preview for the preview alias. Useful when a function misbehaves only in production.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.