remove peer addr from log
This commit is contained in:
parent
81f2b5fd15
commit
41709e2ee5
@ -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))...)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user