Add logging for dns provider

This commit is contained in:
Melon 2023-07-16 16:58:29 +01:00
parent cfb2fd6fcb
commit fa3f4ad99f
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -368,6 +368,7 @@ func (s *Service) setupLegoClient() (*lego.Client, error) {
// getDnsProvider loads a DNS challenge provider using the provided name and // getDnsProvider loads a DNS challenge provider using the provided name and
// token // token
func (s *Service) getDnsProvider(name, token string) (challenge.Provider, error) { func (s *Service) getDnsProvider(name, token string) (challenge.Provider, error) {
log.Printf("[Renewal] Loading dns provider: %s with token %s*****\n", name, token[:3])
switch name { switch name {
case "duckdns": case "duckdns":
return duckdns.NewDNSProviderConfig(&duckdns.Config{ return duckdns.NewDNSProviderConfig(&duckdns.Config{