wiretap icon indicating copy to clipboard operation
wiretap copied to clipboard

Log improvement for faster debugging

Open LasneF opened this issue 2 years ago • 1 comments

Given Wiretap as a proxy , Given that there is HTTP rewritting it would be nice to have better logging on the rewrite applied

here i got in wiretap logs this

level=info msg="[wiretap] request /trades: completed (307)" fileName=handle_request.go goroutine=686 package=daemon

would be nice to have received /trades , redirecting to http://ggg:zzz/agivenconfigurepath/toto/trades in the logs

could be also something to put in the UI either

here it s even not clear who reply the 307 looking on the ui , it propose a location https://localhost:8443/trades but looks not clear where does it comes from

LasneF avatar Oct 06 '23 08:10 LasneF

I think logging in general needs an upgrade, its very very noisy at the moment with no way to tune it. I will add this into the list for when I circle back for feature work in wiretap.

daveshanley avatar Oct 06 '23 10:10 daveshanley