fastify / fastify/help

how to setup rotating files and different settings

Open
#891 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
68
Forks
8
Avg merge
11h 2m
Merged PRs (30d)
2

Description

Hello im using the fastify logger and with pino-pretty

this is what my current app looks like
logger: {
transport:{
target: 'pino-pretty',
}
}

and i want to be able to disable pino pretty based of if env is set to production or development and how to setup it logging to a file and rotating it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.