Skip to content

Commit

Permalink
Add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jan 30, 2024
1 parent b060100 commit 3a8556a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/storage/utils/eosfs/eosfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1973,6 +1973,8 @@ func (fs *eosfs) ListRecycle(ctx context.Context, basePath, key, relativePath, f
}
}

sublog := appctx.GetLogger(ctx).With().Logger()
sublog.Debug().Time("from", dateFrom).Time("to", dateTo).Msg("executing ListDeletedEntries")
eosDeletedEntries, err := fs.c.ListDeletedEntries(ctx, auth, fs.conf.MaxRecycleEntries, dateFrom, dateTo)
if err != nil {
if strings.Contains(err.Error(), "too long") {
Expand Down

0 comments on commit 3a8556a

Please sign in to comment.