Log improvement for faster debugging
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
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.