pnxtech / hydra

A light-weight library for building distributed applications such as microservices
https://www.hydramicroservice.com
MIT License
645 stars 54 forks source link

Ignoring logging of configured url path #215

Open tiholm opened 4 years ago

tiholm commented 4 years ago

I am using health check path inside a Hydra microservice, for example path could be /health and it is called every 30th second. This generates lots of noise in logs, because each log request gets logged by HydraExpressLogger, which internally uses pino-http logger, if I am correct. Could there be some configuration to ignore given path logging?