remove peer addr from log

This commit is contained in:
Sergey Cherepanov authored and Mikhail Iudin committed 2023-05-05 16:28:31 +02:00
1 parent 81f2b5fd15
commit 41709e2ee5
1 file changed
+1 -1
+1 -1
View File
@@ -61,5 +61,5 @@ func (m *metric) RequestLog(ctx context.Context, rpc string, fields ...zap.Field
if ak != nil {
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))...)
}