1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

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 {
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))...)
}