Add request uri for better debugging

This commit is contained in:
Bolke de Bruin 2024-03-20 10:56:58 +01:00
parent 37c14c4615
commit 447599b92a

View File

@ -25,8 +25,8 @@ func EnrichContext(next http.Handler) http.Handler {
}
}
log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t",
id.SessionId(), id.UserName(), id.Authenticated())
log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t: Path: %s",
id.SessionId(), id.UserName(), id.Authenticated(), r.RequestURI)
h := r.Header.Get("X-Forwarded-For")
if h != "" {