From 2c3f36b22afec6b52b475c4e059b9c6de45d0bee Mon Sep 17 00:00:00 2001 From: ThinkChaos Date: Sun, 19 Nov 2023 16:45:20 -0500 Subject: [PATCH] squash: fix(server): don't setup the logger again --- server/server.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/server.go b/server/server.go index bdbb4b178..9105aec77 100644 --- a/server/server.go +++ b/server/server.go @@ -115,8 +115,6 @@ func retrieveCertificate(cfg *config.Config) (cert tls.Certificate, err error) { // //nolint:funlen func NewServer(ctx context.Context, cfg *config.Config) (server *Server, err error) { - log.ConfigureLogger(&cfg.Log) - var cert tls.Certificate if len(cfg.Ports.HTTPS) > 0 || len(cfg.Ports.TLS) > 0 {