aboutsummaryrefslogtreecommitdiffhomepage
path: root/admin.go
diff options
context:
space:
mode:
authorbit <[email protected]>2022-11-24 03:49:22 +0000
committerGitHub <[email protected]>2022-11-23 20:49:22 -0700
commit762b02789ac0ef79e92de7c58dac19d24a104587 (patch)
tree6d8875d22a216c71df3cb427c5516e7e0d05895e /admin.go
parent6f8fe01da170f6e4be09f85ea952c3e0d89f64db (diff)
downloadcaddy-762b02789ac0ef79e92de7c58dac19d24a104587.tar.gz
caddy-762b02789ac0ef79e92de7c58dac19d24a104587.zip
admin: set certmagic cache logger (#5173)
same way it is set in modules/caddytls/tls.go
Diffstat (limited to 'admin.go')
-rw-r--r--admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin.go b/admin.go
index 4b107ad05..d23c7db0d 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)