diff options
author | bit <[email protected]> | 2022-11-24 03:49:22 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-23 20:49:22 -0700 |
commit | 762b02789ac0ef79e92de7c58dac19d24a104587 (patch) | |
tree | 6d8875d22a216c71df3cb427c5516e7e0d05895e /admin.go | |
parent | 6f8fe01da170f6e4be09f85ea952c3e0d89f64db (diff) | |
download | caddy-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.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |