How to check logs in Cloudflare pages?

I have a site deployed on cloudflare pages and I am using Astro for my rendering lanaguage. I have some console.log messages in code I want to check output of them? How and where does cloudflare pages logs these messages and how can I access them? I assume these are dynamic pages as per url I am calling my CMS to fetch the data
2 Replies
Walshy
Walshy2mo ago
?pages-logs
Flare
Flare2mo ago
If you're looking to tail a Pages Function you can do so in the UI here: https://dash.cloudflare.com?to=/:account/pages/view/:pages-project/:pages-deployment/functions or with Wrangler: wrangler pages deployment tail [deploymentId/url]
Want results from more Discord servers?
Add your server