Added logging
Merge branch 'master' of https://github.com/Ziemin/sp2p