THRIFT-2663: Don't use the root logger in python

https://issues.apache.org/jira/browse/THRIFT-2663