Tail Live Production Logs

logs & debug

// what it does

Opens a live stream of every request and `console.log` from the deployed Worker, printed in Cloudflare's default pretty format. Run it with no argument to use the name from your Wrangler config, or pass a Worker name/route explicitly. This is the fastest way to watch what production is actually doing in real time.

// shell

$ wrangler tail
$ wrangler tail my-worker

// gotcha

Tail reads the deployed Worker over Cloudflare's Tail API — it does NOT surface local `wrangler dev` output, and you see nothing until a live request arrives. The Worker must have been deployed at least once.