@@ -355,15 +355,15 @@ func (s *Source) scanCollection(ctx context.Context, chunksChan chan *sources.Ch
355
355
// collections don't have URLs in the Postman API, but we can scan the Authorization section without it.
356
356
s .scanAuth (ctx , chunksChan , metadata , collection .Auth , URL {})
357
357
358
- ctx .Logger ().V (4 ).Info ("Scanning events in collection" ,
358
+ ctx .Logger ().V (3 ).Info ("Scanning events in collection" ,
359
359
"collection_uid" , collection .Info .Uid ,
360
360
"event_count" , len (collection .Events ),
361
361
)
362
362
for _ , event := range collection .Events {
363
363
s .scanEvent (ctx , chunksChan , metadata , event )
364
364
}
365
365
366
- ctx .Logger ().V (4 ).Info ("Scanning items in collection" ,
366
+ ctx .Logger ().V (3 ).Info ("Scanning items in collection" ,
367
367
"collection_uid" , collection .Info .Uid ,
368
368
"item_ids" , fp .Map (func (i Item ) string { return i .Id })(collection .Items ),
369
369
)
@@ -374,7 +374,7 @@ func (s *Source) scanCollection(ctx context.Context, chunksChan chan *sources.Ch
374
374
}
375
375
376
376
func (s * Source ) scanItem (ctx context.Context , chunksChan chan * sources.Chunk , collection Collection , metadata Metadata , item Item , parentItemId string ) {
377
- ctx .Logger ().V (4 ).Info ("Starting to scan item" ,
377
+ ctx .Logger ().V (3 ).Info ("Starting to scan item" ,
378
378
"item_uid" , item .Uid ,
379
379
"item_parent_item_id" , parentItemId ,
380
380
"item_descendent_item_uids" , fp .Map (func (i Item ) string { return i .Uid })(item .Items ),
@@ -440,7 +440,7 @@ func (s *Source) scanItem(ctx context.Context, chunksChan chan *sources.Chunk, c
440
440
s .scanAuth (ctx , chunksChan , metadata , item .Auth , item .Request .URL )
441
441
metadata .LocationType = source_metadatapb .PostmanLocationType_UNKNOWN_POSTMAN
442
442
443
- ctx .Logger ().V (4 ).Info ("Finished scanning item" , "item_uid" , item .Uid )
443
+ ctx .Logger ().V (3 ).Info ("Finished scanning item" , "item_uid" , item .Uid )
444
444
}
445
445
446
446
func (s * Source ) scanEvent (ctx context.Context , chunksChan chan * sources.Chunk , metadata Metadata , event Event ) {
@@ -568,7 +568,7 @@ func (s *Source) scanAuth(ctx context.Context, chunksChan chan *sources.Chunk, m
568
568
}
569
569
570
570
func (s * Source ) scanHTTPRequest (ctx context.Context , chunksChan chan * sources.Chunk , metadata Metadata , r Request ) {
571
- ctx .Logger ().V (4 ).Info ("scanning http request" ,
571
+ ctx .Logger ().V (3 ).Info ("scanning http request" ,
572
572
"request_header_count" , len (r .HeaderKeyValue ),
573
573
"request_has_string_header" , r .HeaderString == nil ,
574
574
"request_url_query_param_count" , len (r .URL .Query ),
@@ -628,7 +628,7 @@ func (s *Source) scanHTTPRequest(ctx context.Context, chunksChan chan *sources.C
628
628
}
629
629
630
630
func (s * Source ) scanRequestBody (ctx context.Context , chunksChan chan * sources.Chunk , m Metadata , b Body ) {
631
- ctx .Logger ().V (4 ).Info ("scanning request body" ,
631
+ ctx .Logger ().V (3 ).Info ("scanning request body" ,
632
632
"request_body_form_data_count" , len (b .FormData ),
633
633
"request_body_url_encoded_param_count" , len (b .URLEncoded ),
634
634
)
0 commit comments