From 0b0bbaa0ba02c0e7c02bfedfcf73e308118dc4d2 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Tue, 6 Feb 2024 12:05:26 +0100 Subject: [PATCH] Revert "debug" This reverts commit 3888b1cff2fdfa9eae624165b47c960b19759bec. --- internal/grpc/services/gateway/storageprovider.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/grpc/services/gateway/storageprovider.go b/internal/grpc/services/gateway/storageprovider.go index 76dbc4a002..086f3f95df 100644 --- a/internal/grpc/services/gateway/storageprovider.go +++ b/internal/grpc/services/gateway/storageprovider.go @@ -1396,7 +1396,6 @@ func (s *svc) statSharesFolder(ctx context.Context) (*provider.StatResponse, err } func (s *svc) stat(ctx context.Context, req *provider.StatRequest) (*provider.StatResponse, error) { - log := appctx.GetLogger(ctx) providers, err := s.findProviders(ctx, req.Ref) if err != nil { return &provider.StatResponse{ @@ -1413,7 +1412,6 @@ func (s *svc) stat(ctx context.Context, req *provider.StatRequest) (*provider.St Status: status.NewInternal(ctx, err, "error connecting to storage provider="+providers[0].Address), }, nil } - log.Debug().Interface("ref", req.Ref).Msg("calling Stat") rsp, err := c.Stat(ctx, req) if err != nil || rsp.Status.Code != rpc.Code_CODE_OK { return rsp, err @@ -1423,7 +1421,6 @@ func (s *svc) stat(ctx context.Context, req *provider.StatRequest) (*provider.St // otherwise, this is a Stat for "/", which corresponds to a 0-Depth PROPFIND from web to just get the fileid: // we respond with an hardcoded value, no need to poke all storage providers as we did before - log.Debug().Interface("ref", req.Ref).Msg("sending back fake file-id") info := &provider.ResourceInfo{ Id: &provider.ResourceId{ StorageId: "/",