remove peer addr from log

This commit is contained in:
Sergey Cherepanov 2023-05-05 16:28:31 +02:00 committed by Mikhail Iudin
parent 81f2b5fd15
commit 41709e2ee5
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -61,5 +61,5 @@ func (m *metric) RequestLog(ctx context.Context, rpc string, fields ...zap.Field
if ak != nil { if ak != nil {
acc = ak.Account() acc = ak.Account()
} }
m.rpcLog.Info("", append(fields, Addr(peer.CtxPeerAddr(ctx)), PeerId(peerId), Identity(acc), Method(rpc))...) m.rpcLog.Info("", append(fields, PeerId(peerId), Identity(acc), Method(rpc))...)
} }