From 31fdcca00bd4c6839a3a3bcd76044c45915c396c Mon Sep 17 00:00:00 2001 From: lalexgap Date: Mon, 13 Nov 2023 21:30:33 -0800 Subject: [PATCH] Add sanity logging to ServeHTTP method --- paymentproxy/proxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/paymentproxy/proxy.go b/paymentproxy/proxy.go index 38c23738e..76be16050 100644 --- a/paymentproxy/proxy.go +++ b/paymentproxy/proxy.go @@ -84,6 +84,7 @@ func NewPaymentProxy(proxyAddress string, nitroEndpoint string, destinationURL s // It then delegates to the reverse proxy to handle rewriting the request and sending it to the destination func (p *PaymentProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { fmt.Println("Sanity") + slog.Info("Sanity") // If the request is a health check, return a 200 OK if r.URL.Path == "/health" { w.WriteHeader(http.StatusOK)