add logging
Merge branch 'master' of https://github.com/hongliangjie/penelope