[#890] getsvc: Log node PK

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
fix/object_get_log_node_pk
Dmitrii Stepanov 2023-12-28 13:04:29 +03:00
parent 764f70634d
commit b118734909
1 changed files with 2 additions and 1 deletions

View File

@ -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 {