--- logging.handlers.txt.orig 2014-05-30 09:23:27.849491600 -0400 +++ logging.handlers.txt 2014-05-30 10:06:14.694749000 -0400 @@ -734,9 +734,19 @@ If no *method* is specified, ``GET`` is used. + .. method:: mapLogRecord(record) + + Return **record** formatted as a dict object for use by emit(). + .. method:: emit(record) - Sends the record to the Web server as a percent-encoded dictionary. + Sends the entire **record** LogRecord object to the Web server as a + percent-encoded dictionary. + + Note that formatting configuration (configured via the Handler's + setFormatter(), the Logger's basicConfig(), etc.) is **not** used + when emit(record) is called. Override the mapLogRecord(record) method + in order to customize output. .. seealso::