Skip to content

Commit 4191858

Browse files
committed
log group member counts
1 parent 5e6c5dc commit 4191858

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/connector/groups.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ func (o *groupBuilder) Grants(ctx context.Context, resource *v2.Resource, pToken
129129
outputAnnotations.WithRateLimiting(rateLimitDesc)
130130
}
131131

132+
if pToken.Token == "" {
133+
l := ctxzap.Extract(ctx)
134+
l.Info("gitlab-connector", zap.Any("groupMemberCount", len(users)))
135+
}
136+
132137
if err != nil {
133138
l := ctxzap.Extract(ctx)
134139
l.Warn("Permission denied while listing members for group. Skipping.",

0 commit comments

Comments
 (0)