mirror of
https://github.com/1f349/orchid.git
synced 2024-12-22 08:04:10 +00:00
Add logging for dns provider
This commit is contained in:
parent
cfb2fd6fcb
commit
fa3f4ad99f
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user