csshsh
TTCTheo's Typesafe Cult
•Created by csshsh on 9/19/2023 in #questions
console.log calls not showing up in Vercel runtime logs, when streaming edge function runs longer
To allow an next.js edge function run for longer than 30 seconds, we stream its output. There is a weird issue where console.log calls don't show up in the Vercel runtime log dashboard, if the edge functions runs for more than ~17 seconds. I've tested it with a new next.js app, using the latest next.js version and this route handler: https://gist.github.com/csshsh/f2d35919b533fb2a9e64865a662dd914
Any idea what might be causing this and how to resolve it? Vercel support unfortunately has been non-existant
4 replies