[issue31084] QueueHandler not formatting messages

2017-07-30 Thread favll

Changes by favll <frederic.lapatsc...@tum.de>:


--
pull_requests: +3001

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31084>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31084] QueueHandler not formatting messages

2017-07-30 Thread favll

New submission from favll:

QueueHandler does not seem to format messages when setting a Formatter and 
attaching the QueueHandler to a logger. See attachement for a concise example.

According to the internal documentation of the QueueHandler's prepare method it 
is expected that self.format(record) will format the message and put the 
message into record.message. However, this is not the case and 
self.format(record) only returns the message. So this should be ab easy fix.

--
components: Library (Lib)
files: queue_handler_bug.py
messages: 299525
nosy: favll
priority: normal
severity: normal
status: open
title: QueueHandler not formatting messages
type: behavior
versions: Python 3.7
Added file: http://bugs.python.org/file47052/queue_handler_bug.py

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31084>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com