From 416887197f9be6e3dbd0d94a95cc4c1f40c87ccd Mon Sep 17 00:00:00 2001 From: Domenico Testa Date: Wed, 6 May 2026 01:50:56 +0200 Subject: [PATCH] feat: logging proxied requests --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index db84067..e5f604b 100644 --- a/main.go +++ b/main.go @@ -44,6 +44,8 @@ func main() { http.Error(w, "unauthorized", http.StatusUnauthorized) return } + + slog.Info("proxying request", "client", clientIP(r)) proxy.ServeHTTP(w, r) })