commit | b04df765b5c9fe1b8fb6ded0ed2750188278fe50 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Jun 10 22:55:38 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Jun 10 22:55:38 2008 +0000 |
tree | f17c1607c606385270d72107893a7941fe8fa081 | |
parent | bcaa2ad0d6799066ed680f53051c469e4f58771b [diff] |
Change Python servers to use the standard logging module. Previously Thrift was using `print` to report errors. Thrift is infrastructure and should not impose its error logging mechanism on the apps that use it. For example, [elided] uses the logging module to send logs to a particular file. I ran the unit test. That exercises most of the error handling routines. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666364 13f79535-47bb-0310-9956-ffa450edef68