diff --git a/pkg/services/object/search/remote.go b/pkg/services/object/search/remote.go index 5fb0bb8c9..a51cec6dc 100644 --- a/pkg/services/object/search/remote.go +++ b/pkg/services/object/search/remote.go @@ -18,7 +18,7 @@ func (exec *execCtx) processNode(ctx context.Context, info client.NodeInfo) { ids, err := client.searchObjects(exec, info) if err != nil { - exec.log.Debug("local operation failed", + exec.log.Debug("remote operation failed", zap.String("error", err.Error()), ) diff --git a/pkg/services/object/search/service.go b/pkg/services/object/search/service.go index cf14cdc3a..227c4a2bd 100644 --- a/pkg/services/object/search/service.go +++ b/pkg/services/object/search/service.go @@ -75,7 +75,7 @@ func New(opts ...Option) *Service { // WithLogger returns option to specify Get service's logger. func WithLogger(l *logger.Logger) Option { return func(c *cfg) { - c.log = l.With(zap.String("component", "Object.Get service")) + c.log = l.With(zap.String("component", "Object.Search service")) } }