Skip to content

Commit 9b58508

Browse files
authored
Add verbose level 3 for listPackageRevision calls (#325)
1 parent 90ae749 commit 9b58508

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/registry/porch/packagecommon.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,22 @@ func (r *packageCommon) listPackageRevisions(ctx context.Context, filter reposit
107107
workerCount = min(r.MaxConcurrentLists, repoCount)
108108
}
109109

110-
klog.Infof("Listing %d repositories with %d workers", repoCount, workerCount)
110+
klog.V(3).Infof("Listing %d repositories with %d workers", repoCount, workerCount)
111111

112112
resultsCh := make(chan pkgRevResult, workerCount)
113113
repoQueue := make(chan *configapi.Repository, repoCount)
114114

115115
for i := 0; i < workerCount; i++ {
116116
go func() {
117117
for repo := range repoQueue {
118-
klog.Infof("[WORKER %d] Processing repository %s", i, repo.Name)
118+
klog.V(3).Infof("[WORKER %d] Processing repository %s", i, repo.Name)
119119
listCtx := ctx
120120
var cancel context.CancelFunc
121121
if r.ListTimeoutPerRepository != 0 {
122122
listCtx, cancel = context.WithTimeout(ctx, r.ListTimeoutPerRepository)
123123
}
124124
revisions, err := r.cad.ListPackageRevisions(listCtx, repo, filter)
125-
klog.Infof("[WORKER %d] ListPackageRevisions for %s done, len: %d, err: %v", i, repo.Name, len(revisions), err)
125+
klog.V(3).Infof("[WORKER %d] ListPackageRevisions for %s done, len: %d, err: %v", i, repo.Name, len(revisions), err)
126126
resultsCh <- pkgRevResult{Revisions: revisions, Err: err}
127127
if cancel != nil {
128128
cancel()

0 commit comments

Comments
 (0)