[New-bugs-announce] [issue20242] logging style parameter does not work correctly

kespindler report at bugs.python.org
Mon Jan 13 19:41:50 CET 2014


New submission from kespindler:

In Python 3.3, 3.4beta2, and bleeding edge (88411:e7d922d8ee03), the following occurs 

>>> import logging
>>> logging.basicConfig(style="{")
>>> logging.error("hello")
%(levelname)s:%(name)s:%(message)s


Of course, I would expect

ERROR:root:hello

to be output instead.

----------
components: Library (Lib)
messages: 208035
nosy: kespindler
priority: normal
severity: normal
status: open
title: logging style parameter does not work correctly
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20242>
_______________________________________


More information about the New-bugs-announce mailing list