From e5a393c534cf78a58e1098e04a6dda869ac8cec1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 13 Feb 2022 14:36:56 +0100 Subject: [PATCH] internal: increase logging for no hostname found Signed-off-by: Jens Langhammer --- internal/outpost/proxyv2/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/outpost/proxyv2/handlers.go b/internal/outpost/proxyv2/handlers.go index 19c1e8f97..511380bb1 100644 --- a/internal/outpost/proxyv2/handlers.go +++ b/internal/outpost/proxyv2/handlers.go @@ -109,6 +109,7 @@ func (ps *ProxyServer) Handle(rw http.ResponseWriter, r *http.Request) { } } + ps.log.WithField("headers", r.Header).Trace("tracing headers for no hostname match") ps.log.WithField("host", host).Warning("no app for hostname") rw.Header().Set("Content-Type", "application/json")