Skip to content
This repository has been archived by the owner. It is now read-only.

Log of blocks sent to other peers? #122

Closed
kevina opened this issue May 17, 2016 · 2 comments
Closed

Log of blocks sent to other peers? #122

kevina opened this issue May 17, 2016 · 2 comments

Comments

@kevina
Copy link

kevina commented May 17, 2016

Is there currently any way to log blocks that are sent to other peers?

I am trying to get an IPFS equivalent to an http access log. I know it won't be the same as IPFS is distributed, but it will still be useful.

The best thing I can determine is to use ipfs log level bitswap info. But I am not sure that will get everything.

@whyrusleeping
Copy link

whyrusleeping commented Sep 8, 2016

Not really easily, but you can use ipfs log tail and filter by events that are Bitswap.TaskWorker.Loop, which should tell you every time you sent a block to a peer.

@whyrusleeping whyrusleeping removed their assignment Dec 10, 2016
@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants