[issue1164953] logging.basicConfig creates phantom handler

Vinay Sajip report at bugs.python.org
Fri Oct 7 16:31:59 CEST 2011


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

> anatoly techtonik <techtonik at gmail.com> added the comment:
> 
> I know that it is by design, but from all logging users you may be the only one 
> who keeps this behaviour in mind. The message why basicConfig() failed will be 
> more user-friendly.

You're not likely to be aware of all the feedback I get from other users of the logging package, so I'm not sure what your inference "you may be the only one" is based on. Since basicConfig() didn't "fail" (behaviour is as designed), I'm not planning any changes in this area. Also note: this issue was raised and closed in March 2005, and there have been no requests since then to change the existing behaviour (nor would it be possible to accommodate such requests without compromising backward compatibility).

----------

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


More information about the Python-bugs-list mailing list