Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 13, 09:15 UTC
admin: set certmagic cache logger (#5173)
same way it is set in modules/caddytls/tls.go
bit committed
Nov 24, 2022 at 03:49 UTC
762b02789ac0ef79e92de7c58dac19d24a104587
1 file changed
+1
admin.go
+1
@@ -588,6 +588,7 @@ func (ident *IdentityConfig) certmagicConfig(logger *zap.Logger, makeCache bool)
588
GetConfigForCert: func(certmagic.Certificate) (*certmagic.Config, error) {
589
return cmCfg, nil
590
},
591
+ Logger: logger.Named("cache"),
592
})
593
}
594
cmCfg = certmagic.New(identityCertCache, template)