Author vinay.sajip
Recipients bk2zsto, vinay.sajip
Date 2014-05-29.22:27:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
HTTPHandler doesn't exactly format text for output - it encodes the LogRecord fields into an HTTP GET or POST request, and sends that request to a web server. Since this "formatting" is determined by the HTTP protocol, it is not possible to share it with formatting for other destinations (like console or file).

I don't think a patch which somehow shoehorns a Formatter into mapLogRecord() will be acceptable, both for reasons of backward compatibility and also because formatting in general is not the same as encoding for HTTP, and trying to push the two things together seems kludgy. I advise you to subclass HttpHandler if its default behaviour doesn't work for you. After all, that's why we have classes in Python :-)
Date User Action Args
2014-05-29 22:27:55vinay.sajipsetrecipients: + vinay.sajip, bk2zsto
2014-05-29 22:27:55vinay.sajipsetmessageid: <>
2014-05-29 22:27:55vinay.sajiplinkissue21608 messages
2014-05-29 22:27:53vinay.sajipcreate