From 3a8556a9e8f33867ceb4be387a4cadf464dfae8d Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Mon, 29 Jan 2024 18:52:29 +0100 Subject: [PATCH] Add debug log --- pkg/storage/utils/eosfs/eosfs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/storage/utils/eosfs/eosfs.go b/pkg/storage/utils/eosfs/eosfs.go index 2767de6f703..e311c19a4c0 100644 --- a/pkg/storage/utils/eosfs/eosfs.go +++ b/pkg/storage/utils/eosfs/eosfs.go @@ -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") {