Closed HRK44 closed 3 years ago
You can disable morgan in the configuration with the key settings.loggerFormat
:
{
"settings": { "loggerFormat": "none" }
}
Then, I think you will be able to add your custom express-pino-logger
middleware with this page: https://foalts.org/docs/cookbook/expressjs/#custom-express-instance
Ok thanks for your answer, I think it's doable this way.
As of now, you are using
morgan
to log requests.I want to know if it's possible to use an other logger, such as
express-pino-logger
, if not, would it be possible to select a custom logger instead ofmorgan
?Thanks