From 447599b92a992881e8ed6ff5783f0c36ffe387bf Mon Sep 17 00:00:00 2001 From: Bolke de Bruin <bolke@xs4all.nl> Date: Wed, 20 Mar 2024 10:56:58 +0100 Subject: [PATCH] Add request uri for better debugging --- cmd/rdpgw/web/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rdpgw/web/context.go b/cmd/rdpgw/web/context.go index af8e2d3..070d5fb 100644 --- a/cmd/rdpgw/web/context.go +++ b/cmd/rdpgw/web/context.go @@ -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 != "" { -- GitLab