Skip to content

Commit

Permalink
Add request uri for better debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bolkedebruin committed Mar 20, 2024
1 parent 37c14c4 commit 447599b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/rdpgw/web/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 447599b

Please sign in to comment.