log each record processed
This commit is contained in:
parent
926593d59c
commit
656988e17f
1
main.go
1
main.go
@ -50,6 +50,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, record := range records {
|
for _, record := range records {
|
||||||
|
log.Printf("processing record '%s' of type '%s'", record.Name, record.Type)
|
||||||
analytic, err := cfClient.GetRecordAnalytic(record)
|
analytic, err := cfClient.GetRecordAnalytic(record)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("failed to get record report for record '%s' in zone '%s' with ID '%s': %v", record.Name, zone.Name, zone.ID, err)
|
log.Printf("failed to get record report for record '%s' in zone '%s' with ID '%s': %v", record.Name, zone.Name, zone.ID, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user