From e02434c41655cdc4ebb86718ffe08f5528573c78 Mon Sep 17 00:00:00 2001 From: tombo Date: Mon, 28 Oct 2024 15:40:23 +0100 Subject: [PATCH] mute logs --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index ef31283..00ecb71 100644 --- a/main.go +++ b/main.go @@ -199,7 +199,6 @@ func (p *ProxyServer) getClientForHost(hostBackend string, timeout float32) (*ht hostBackend = hostBackend+timeoutStr if client, found := p.clients.Load(hostBackend); found { - log.Printf("Reuse client for host: %s", hostBackend) return client.(*http.Client) } client := &http.Client{ @@ -221,7 +220,6 @@ func (p *ProxyServer) getClientForHost(hostBackend string, timeout float32) (*ht }, } p.clients.Store(hostBackend, client) - log.Printf("New client for host: %s", hostBackend) return client }