koa-proxy icon indicating copy to clipboard operation
koa-proxy copied to clipboard

Is it possible to log only requests that are proxied?

Open 0x80 opened this issue 8 years ago • 1 comments

I would like to log the requests that are proxied and how long they take to return a response. Is this somehow possible?

0x80 avatar May 31 '16 14:05 0x80

It looks like the map function is called on all requests, whether they match the provided regex or not. Seems like a waste of CPU.

Yugloocamai avatar Aug 28 '17 20:08 Yugloocamai