Browse Source

feature/posture: log method and full URL for posture identity requests

Updates tailscale/corp#34676

Signed-off-by: Anton Tolchanov <[email protected]>
Anton Tolchanov 3 months ago
parent
commit
34dff57137
1 changed files with 1 additions and 1 deletions
  1. 1 1
      feature/posture/posture.go

+ 1 - 1
feature/posture/posture.go

@@ -52,7 +52,7 @@ func handleC2NPostureIdentityGet(b *ipnlocal.LocalBackend, w http.ResponseWriter
 		http.Error(w, "posture extension not available", http.StatusInternalServerError)
 		return
 	}
-	e.logf("c2n: GET /posture/identity received")
+	e.logf("c2n: %s %s received", r.Method, r.URL.String())
 
 	res := tailcfg.C2NPostureIdentityResponse{}