diff options
Diffstat (limited to 'internal/server')
-rw-r--r-- | internal/server/tls.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/server/tls.go b/internal/server/tls.go index 254cd12..6c48f86 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -28,6 +28,9 @@ type redisConfig struct { func (s *Server) serveTLS() (err error) { var issuer *certmagic.ACMEIssuer + // setting cfg.Logger is too late somehow + certmagic.Default.Logger = log.GetLogger(). + Named("certmagic") cfg := certmagic.NewDefault() cfg.DefaultServerName = s.config.Domains[0] |