@@ -124,7 +124,7 @@ func (c client) GetResources(ctx context.Context, job model.DiscoveryJob, region
124124 if resource .FilterThroughTags (job .SearchTags ) {
125125 resources = append (resources , & resource )
126126 } else {
127- c .logger .Debug ("Skipping resource because search tags do not match" , "arn" , resource .ARN )
127+ c .logger .Info ("Skipping resource because search tags do not match" , "arn" , resource .ARN )
128128 }
129129 }
130130 return ! lastPage
@@ -133,7 +133,7 @@ func (c client) GetResources(ctx context.Context, job model.DiscoveryJob, region
133133 return nil , err
134134 }
135135
136- c .logger .Debug ("GetResourcesPages finished" , "total" , len (resources ))
136+ c .logger .Info ("GetResourcesPages finished" , "total" , len (resources ))
137137 }
138138
139139 if ext , ok := ServiceFilters [svc .Namespace ]; ok {
@@ -144,7 +144,7 @@ func (c client) GetResources(ctx context.Context, job model.DiscoveryJob, region
144144 return nil , fmt .Errorf ("failed to apply ResourceFunc for %s, %w" , svc .Namespace , err )
145145 }
146146 resources = append (resources , newResources ... )
147- c .logger .Debug ("ResourceFunc finished" , "total" , len (resources ))
147+ c .logger .Info ("ResourceFunc finished" , "total" , len (resources ))
148148 }
149149
150150 if ext .FilterFunc != nil {
@@ -153,7 +153,7 @@ func (c client) GetResources(ctx context.Context, job model.DiscoveryJob, region
153153 return nil , fmt .Errorf ("failed to apply FilterFunc for %s, %w" , svc .Namespace , err )
154154 }
155155 resources = filteredResources
156- c .logger .Debug ("FilterFunc finished" , "total" , len (resources ))
156+ c .logger .Info ("FilterFunc finished" , "total" , len (resources ))
157157 }
158158 }
159159
0 commit comments