Why are my Cloudflare Worker logs not appearing in the Cloudflare dashboard?

Question

Grade: Education Subject: Support
Why are my Cloudflare Worker logs not appearing in the Cloudflare dashboard?
Asked by:
76 Viewed 76 Answers

Answer (76)

Best Answer
(683)
Several reasons could be preventing your logs from appearing. Check your Worker's script for any errors that might be halting execution before the logging statements. Ensure you have properly configured `console.log()` or similar methods within your Worker code. Verify your Cloudflare account's plan supports logging features (e.g., Cloudflare Logs). Also, confirm the Worker is deployed and actively handling requests. Examine the Cloudflare dashboard for any error messages related to logging configuration or the Worker itself. Finally, review your script's execution to confirm that it's actually running, as a simple error in the entry point could cause it not to start at all.