summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbit <j@mailb.org>2022-11-24 03:49:22 +0000
committerGitHub <noreply@github.com>2022-11-23 20:49:22 -0700
commit762b02789ac0ef79e92de7c58dac19d24a104587 (patch)
tree6d8875d22a216c71df3cb427c5516e7e0d05895e
parent6f8fe01da170f6e4be09f85ea952c3e0d89f64db (diff)
admin: set certmagic cache logger (#5173)
same way it is set in modules/caddytls/tls.go
-rw-r--r--admin.go1
1 files changed, 1 insertions, 0 deletions
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)