Introducing logs from the dashboard for Cloudflare Workers
Aug 24, 2021Ashcon Partovi

Summary
Introduced integrated logging and exception tracking for Cloudflare Workers, accessible directly from the dashboard and via the `wrangler tail` CLI. This feature eliminates the need for manual logging setup by developers, automatically capturing `console.log` output and exceptions. The dashboard provides a viewable stream of logs and exceptions, with filtering by event status and type. The `wrangler tail` command offers advanced filtering by IP address, status, HTTP method, sampling rate, and generic search queries, with options for pretty and JSON output formats. This enhancement aims to simplify debugging and improve the understanding of Worker execution.
More from the Data Infrastructure & Analytics trail
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows