Log node public key for get requests #890
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue