From ec73f841eaaf47107e09052de793aaa2410612e5 Mon Sep 17 00:00:00 2001 From: Craig Johnston Date: Wed, 27 Jan 2021 17:35:45 -0800 Subject: [PATCH] added fields to debug log output --- proxy.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxy.go b/proxy.go index 128b986..219f0dd 100644 --- a/proxy.go +++ b/proxy.go @@ -120,5 +120,8 @@ func (p *Proxy) Handle(w http.ResponseWriter, r *http.Request) { zap.String("path", reqPath), zap.String("time", end.Format(time.RFC3339)), zap.Duration("latency", latency), + zap.Bool("admit", admit), + zap.Any("header", r.Header), + zap.String("token", tokenString), ) }