Leave a comment suggesting to use a custom logger for lego

This commit is contained in:
Melon 2025-01-29 23:17:17 +00:00
parent 4105d14e63
commit c247a50472
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -322,6 +322,7 @@ func (s *Service) setupLegoClient() (*lego.Client, error) {
}
// create lego client from the config
// TODO: use a custom logger via `github.com/go-acme/lego/v4/log.Logger`
client, err := lego.NewClient(config)
if err != nil {
return nil, fmt.Errorf("failed to generate client: %w", err)