Next.js Discord

Discord Forum

Logging in app router

Unanswered
Australian Cattle Dog posted this in #help-forum
Open in Discord
Australian Cattle DogOP
Hi guys. I'm migrating our application from pages folder to app folder and we're using pino together with applicationinsights to handle our logging in production. However, ever since I switched to the app router, I've been getting a series of "module not found" messages related to applicationinsights. I had to include pino to serverComponentsExternalPackages experimental feature, but applicationinsights isn't working at all. Does anyone have any ideas about this or can give some tips on how best to deal with logging in the app folder? Thank you

1 Reply

Rock Dove
did you able to find a solution