Can I Redirect debug output from HTTPConnection to a file?
harelmalka at gmail.com
Tue Jul 10 11:32:04 CEST 2007
I'm using httplib.HTTPConnection to perform http connections and
during the beta period of the application I wanted to log its verbose
output [set_debuglevel(5)]. However, raising the debuglevel just
outputs it to stdout. can I redirect that to a file? My app uses the
logging module for logging and I'd like to use that to log into the
standard log it generates.
More information about the Python-list