diff --git a/internal/tun2/server.go b/internal/tun2/server.go index 3f72373..783d952 100644 --- a/internal/tun2/server.go +++ b/internal/tun2/server.go @@ -520,10 +520,13 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) { } ln.Log(ctx, c, ln.F{ - "action": "http_traffic", - "remote_addr": req.RemoteAddr, - "host": req.Host, - "uri": req.RequestURI, + "action": "http traffic", + "remote_addr": req.RemoteAddr, + "host": req.Host, + "uri": req.URL.Path, + "status": resp.Status, + "status_code": resp.StatusCode, + "content_length": resp.ContentLength, }) return resp, nil