Your health check is writing a million log lines a month
Take control of every log line Fastify writes for you
Aug 13, 202611 min read472

Search for a command to run...
Articles tagged with #logging
Take control of every log line Fastify writes for you

Remove the need for restarts or resetting the in-memory state

by Manuel Spigolon If you are using Fastify and Mercurius as GraphQL adapter, you have faced the problem of logging the data sent by the client. If you are not using Fastify, the fastest Node.js web framework and Mercurius GraphQL adapter, nevermind...

by Manuel Spigolon Fastify has a built-in logger that you can use out of the box: pino. By default, you can configure during the server initialization, but you can also change the log level at runtime! Let's see how to do it! The log level The log le...
