[issue30582] Incorrect propagation in logging.wheb creating lighters in a certain order
Vinay Sajip
report at bugs.python.org
Tue Jun 6 11:43:53 EDT 2017
Vinay Sajip added the comment:
You haven't clearly stated what you expect to happen vs. what happens. I don't believe there is a bug here:
$ python3.6
Python 3.6.1+ (heads/3.6:2ee91c8, May 28 2017, 14:14:12)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> log_c = logging.getLogger('a.b.c')
>>> log_a = logging.getLogger('a')
>>> log_c.error('spam')
spam
>>>
This behaviour is as expected.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30582>
_______________________________________
More information about the Python-bugs-list
mailing list