Where do astro middleware logs end up once deployed?

Hello!

Im just wondering where I can find / tap into the logs that my astro middleware kicks out.
When running netlify dev / serve the midleware works fine, but when deployed its working ‘somewhat’ (part of its functionality is to redirect users who are not logged in).

Looking on the console there seems to be one function where i expected it might be labled Function Astro SSR System, but theres nothing in there. How can i find things being logged on the CLI or in the console?

If I cant get at them ill send them to a bucket or something!

Cheers in advance.

“dependencies”: {
“astrojs/netlify”: “^6.1.0”,
“astrojs/react”: “^4.2.0”,
“nanostores/persistent”: “^0.10.2”,
“nanostores/react”: “^0.8.4”,
“netlify/edge-functions”: “^2.11.1”,
“supabase/ssr”: “^0.5.2”,
“tailwindcss/vite”: “^4.0.3”,
“types/react”: “^19.0.8”,
“types/react-dom”: “^19.0.3”,
“astro”: “^5.4.2”,
“cli”: “^1.0.1”,
“jwt-decode”: “^4.0.0”,
“nanostores”: “^0.11.3”,
“netlify”: “^13.3.3”,
“react”: “^19.0.0”,
“react-dom”: “^19.0.0”,
“tailwindcss”: “^4.0.11”
},

Having read other posts I should say that I appreciate the constraints / differences between the node based dev server and the deployed environment. Perhaps my middleware is doing something incompatible but I wanna find the logs :slight_smile:

Have you checked Edge Function logs?