iamolegga / nestjs-pino

Platform agnostic logger for NestJS based on Pino with REQUEST CONTEXT IN EVERY LOG
MIT License
1.26k stars 98 forks source link

[QUESTION] Disable logs for context #1481

Closed rubiin closed 1 year ago

rubiin commented 1 year ago

Question I am using this library inplace of nestsjs default logger. Since nestjs spits out so many logs when it boots up, just wanted to know is there a way to disable logs for some contexts

Please mention other relevant information such as Node.js version and Operating System.

iamolegga commented 1 year ago

Not sure, the current library surely doesn't have such a feature, maybe you should check out pino/pino-http settings if there is a parameter for skipping logs based on fields values