This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alex4200
Recipients alex4200, docs@python
Date 2021-06-17.10:10:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623924619.02.0.4525598898.issue44440@roundup.psfhosted.org>
In-reply-to
Content
Using python 3.8.10 and the documentation https://docs.python.org/3.8/library/logging.html it seems that either the documentation is incorrect/unclear, or that the logging module does not work as described. 

Reading on the Logger Object and the setLevel method I created the attached python code, which does not work as expected. As I set the level to "DEBUG", and the documentation clearly says " Logging messages which are less severe than level will be ignored". But having set the level to DEBUG, even the more "severe" info message is ignored. That is clearly contradicting the documentation!
History
Date User Action Args
2021-06-17 10:10:19alex4200setrecipients: + alex4200, docs@python
2021-06-17 10:10:19alex4200setmessageid: <1623924619.02.0.4525598898.issue44440@roundup.psfhosted.org>
2021-06-17 10:10:18alex4200linkissue44440 messages
2021-06-17 10:10:18alex4200create