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.
Created on 2008年03月14日 13:57 by panhudie, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg63527 - (view) | Author: panhudie (panhudie) | Date: 2008年03月14日 13:57 | |
The problem is in the logging.basicConfig(**kwargs):
<...>
level = kwargs.get("level")
if level:
root.setLevel(level)
So you can not set the level like this, this logger will log WARNING(and
above) instead of all the level:
logging.basicConfig(level=logging.NOTSET)
#logging.NOTSET == 0, root default level is WARNING
I have seen this problem was fixed in the trunk, but not in python25 branch:
level = kwargs.get("level")
if level is not None:
root.setLevel(level)
|
|||
| msg63602 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2008年03月16日 21:41 | |
Updated release25-maint. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:31 | admin | set | github: 46540 |
| 2008年03月16日 21:41:01 | vinay.sajip | set | status: open -> closed assignee: vinay.sajip resolution: fixed messages: + msg63602 nosy: + vinay.sajip |
| 2008年03月14日 13:57:07 | panhudie | create | |