From 991d3b465f6a14a78a4166a7fa24c140734610c3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 9 Dec 2024 18:42:01 +0100 Subject: tls: fix certmagic maintenance using wrong logger --- internal/server/tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/tls.go b/internal/server/tls.go index 2e187aa..1e18001 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -33,8 +33,8 @@ func (s *Server) serveTLS() (err error) { wildcardDomain := "*." + s.config.WildcardDomain certificateDomains := slices.Clone(s.config.Domains) + certmagic.Default.Logger = log.GetLogger().Named("certmagic") cfg := certmagic.NewDefault() - cfg.Logger = log.GetLogger().Named("certmagic") acme := certmagic.DefaultACME acme.Agreed = true -- cgit 1.4.1