THRIFT-2665: Debug statements are unnecessary and should be removed

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