Skip to content

tomups/nextjs-pino-http

Repository files navigation

Full request / response logging in Next.js with Pino

Example of patching Next.js to have full request / response logs via Pino.

See the article here: https://www.tomups.com/posts/log-nextjs-request-response-as-json/

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Check the terminal to see the logs.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

Patched Next.js to have full logs via pino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published