From f785e588ab1ec919299f29c2654de5778146eca6 Mon Sep 17 00:00:00 2001 From: Abhishek Pandey Date: Wed, 16 Aug 2023 19:01:14 +0530 Subject: [PATCH] DQ logs --- src/internal/m365/collection/drive/item_collector.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal/m365/collection/drive/item_collector.go b/src/internal/m365/collection/drive/item_collector.go index d737c4abd..cde301e67 100644 --- a/src/internal/m365/collection/drive/item_collector.go +++ b/src/internal/m365/collection/drive/item_collector.go @@ -75,6 +75,7 @@ func collectItems( pager.SetNext(prevDelta) } + logger.Ctx(ctx).Info("delta query iteration begin") for { // assume delta urls here, which allows single-token consumption page, err := pager.GetPage(graph.ConsumeNTokens(ctx, graph.SingleGetOrDeltaLC)) @@ -128,6 +129,7 @@ func collectItems( logger.Ctx(ctx).Debugw("Found nextLink", "link", nextLink) pager.SetNext(nextLink) } + logger.Ctx(ctx).Info("delta query iteration end") return DeltaUpdate{URL: newDeltaURL, Reset: invalidPrevDelta}, newPaths, excluded, nil }