merging the logging system in
Merge branch 'python' of github.com:salehqt/swarm into python