As shown above, the requests are logged, but there’s no additional info/messages available via the Logs accordion dropup. Just a No logs found for this request message for all logs.
Does anyone have any idea what may be causing this issue? I can’t find any changes/commits in my app that could cause this.
I’m having a hard time pinpointing what changed. i don’t see any code changes I made that might cause this, so I can’t figure out where to start debugging this issue.
Hi @colinwilson, I see what you mean. Can you put some logs in a new route (very basic route just with logs) and try to run it when using the Live mode in the Logs page? This way we can confirm that the issue is reproducible.
I see you are on the Hobby plan so logs are not persisted for more than an hour.
We’re grouping multiple datapoints together to build the request log. When using Live Mode it could be that you only see the initial data from middleware (your first screenshot) - if you do a console.log in the middleware itself it should show up but this could be delayed by a few seconds (needs another refresh) to show up.
If you’re logging in the Vercel Function itself (like /media-library) it should also show up and also can be delayed by up to ~5seconds in the worst case.
Do you see the console.log for “older” logs or is everything empty?
If this is the case, I’d need a projectId or domain so we can look into this further!
I looked at your data and everything seems normal to me. It seems like you’re not doing any manual console.logs and function invocations also appear when they are triggered.
Are you missing some requests to the edge network that served static content? This is something we have not shown before but when there is a middleware in front we should - this seems like a bug (not showing the ISR cache result)
You only see logs if there was a invocation, maybe by upgrading Next.js some pages are now build statically - so only a middleware is invoked and then the static content served (we’re sometimes missing this data in some cases sadly, working on it!)