NextJs logs not showing up in K8S pod
I am using Next 14 (app router).
I have a route such as app/api/route.js
There are some console.log()
statements in the route.js
.
when checking pod logs, I cannot see any console.log()
statements there.
I can only see logs that says application has started as image below.
Why can’t I see any console.logs in the server. This is a server component so the logs should be in the pod logs.