add logging in python snippets
fix glog $2 not right
Merge pull request #205 from mengzhuo/master

add python Logger snippet