From b118734909bd22402eb2192426d6470ff5520931 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Thu, 28 Dec 2023 13:04:29 +0300 Subject: [PATCH] [#890] getsvc: Log node PK Signed-off-by: Dmitrii Stepanov --- pkg/services/object/get/remote.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/services/object/get/remote.go b/pkg/services/object/get/remote.go index 4434f036a..cd94434cf 100644 --- a/pkg/services/object/get/remote.go +++ b/pkg/services/object/get/remote.go @@ -2,6 +2,7 @@ package getsvc import ( "context" + "encoding/hex" "errors" "git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs" @@ -16,7 +17,7 @@ func (r *request) processNode(ctx context.Context, info client.NodeInfo) bool { ctx, span := tracing.StartSpanFromContext(ctx, "getService.processNode") defer span.End() - r.log.Debug(logs.ProcessingNode) + r.log.Debug(logs.ProcessingNode, zap.String("node_key", hex.EncodeToString(info.PublicKey()))) rs, ok := r.getRemoteStorage(info) if !ok {