From ae1c2fa892ca91a6cb976cd00cded536d8266458 Mon Sep 17 00:00:00 2001 From: Bittrance Date: Sat, 20 Mar 2021 00:30:12 +0100 Subject: [PATCH] Downgrade Azure provider "Failed to extract" log to debug When running the Azure provider at default log level, this messages is 1/min and is the only messge in the log. Debug seems more reasonable and matches what Azure Private provider. --- provider/azure/azure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/azure/azure.go b/provider/azure/azure.go index 455179d9c..2b2ff2924 100644 --- a/provider/azure/azure.go +++ b/provider/azure/azure.go @@ -119,7 +119,7 @@ func (p *AzureProvider) Records(ctx context.Context) (endpoints []*endpoint.Endp } targets := extractAzureTargets(&recordSet) if len(targets) == 0 { - log.Errorf("Failed to extract targets for '%s' with type '%s'.", name, recordType) + log.Debugf("Failed to extract targets for '%s' with type '%s'.", name, recordType) return true } var ttl endpoint.TTL