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 panhudie
Recipients panhudie
Date 2008-03-14.13:57:06
SpamBayes Score 0.07476973
Marked as misclassified No
Message-id <1205503027.6.0.969200887551.issue2287@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2008-03-14 13:57:07panhudiesetspambayes_score: 0.0747697 -> 0.07476973
recipients: + panhudie
2008-03-14 13:57:07panhudiesetspambayes_score: 0.0747697 -> 0.0747697
messageid: <1205503027.6.0.969200887551.issue2287@psf.upfronthosting.co.za>
2008-03-14 13:57:06panhudielinkissue2287 messages
2008-03-14 13:57:06panhudiecreate