moleculerjs / moleculer-web

:earth_africa: Official API Gateway service for Moleculer framework
http://moleculer.services/docs/moleculer-web.html
MIT License
295 stars 118 forks source link

fix: request url not logged correctly #341

Closed emiljanitzek closed 1 year ago

emiljanitzek commented 1 year ago

We have problem with our request logs. Wasn't able to reproduce it in a test but for some reason the request log gets cropped (we don't get the full url). The response log is always correct and I noticed that the req.originalUrl is used for the response. Using the same url in both response and request seemed reasonable.