Logging SSR errors
Open in Discord
Cape lion posted this in #help-forum
Hello I am using nextjs 14 with app router and a custom express server. I have a problem with logging as I see that some logs for example errors from components that are server side rendered do not log through my custom pino logger but rather just plain stderr console. How can I catch those errors so they're not logged directrly to stderr. but my logger instance if server side rendered??