From 762b02789ac0ef79e92de7c58dac19d24a104587 Mon Sep 17 00:00:00 2001 From: bit Date: Thu, 24 Nov 2022 03:49:22 +0000 Subject: admin: set certmagic cache logger (#5173) same way it is set in modules/caddytls/tls.go --- admin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/admin.go b/admin.go index 4b107ad..d23c7db 100644 --- a/admin.go +++ b/admin.go @@ -588,6 +588,7 @@ func (ident *IdentityConfig) certmagicConfig(logger *zap.Logger, makeCache bool) GetConfigForCert: func(certmagic.Certificate) (*certmagic.Config, error) { return cmCfg, nil }, + Logger: logger.Named("cache"), }) } cmCfg = certmagic.New(identityCertCache, template) -- cgit v1.2.3