hapijs / good

hapi process monitoring
Other
525 stars 160 forks source link

Ignore specific route #471

Closed mugli closed 8 years ago

mugli commented 8 years ago

I want to ignore specific routes (mainly for health check) from good access/request log, but cannot figure out which specific configuration to use on that route. Can anyone please help?

arb commented 8 years ago

What version of good are you using?

mugli commented 8 years ago

v6.6.0

arb commented 8 years ago

In the version 6 line of Good, the only way to really skip certain routes is to write your own reporter. In version 7, you can write a basic transform stream and look at the incoming request and determine whether or not to forward it on to the next stream in the pipeline.

mugli commented 8 years ago

Cool. Thanks. :)

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.