How to disable default logger

System Information
  • 3.4.6:

I needed a custom implementation of the pino logger. So I implemented my own using a middleware. I need a way to disable the default logger, so it doesn’t print twice when I make a request. I tried setting enabled to false in middleware.js. I can also set the level to ‘fatal’, but that seems like a hack rather than a proper solution.