[issue10626] test_concurrent_futures implicitly installs a logging handler on import
Antoine Pitrou
report at bugs.python.org
Mon Dec 6 23:30:28 CET 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> Wow, I didn't realize that's how logging worked. My understanding was
> a module should just get a logger and log messages, and if the
> application didn't do any setup beforehand, the first logging call
> would cause messages to be written to stdout (or stderr) in a default
> format. In fact, I thought that I had observed that behavior in the
> past,
So have I. Did something change?
And does test_logging really have to change the whole logging setup,
rather than only what it needs to check for? Or can't it restore stuff
afterwards?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10626>
_______________________________________
More information about the Python-bugs-list
mailing list