Message9400

Author pekka.klarck
Recipients pekka.klarck
Date 2015-01-15.14:19:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421331573.04.0.193672692675.issue2253@psf.upfronthosting.co.za>
In-reply-to
Content
I looked at `logging` code and found out that we can avoid this warning by setting `log.manager.emittedNoHandlerWarning` to True. This is thus how both this and #2254 could be fixed:

    log = logging.getLogger("_socket")
    log.manager.emittedNoHandlerWarning = True
    log.propagate = False
History
Date User Action Args
2015-01-15 14:19:33pekka.klarcksetmessageid: <1421331573.04.0.193672692675.issue2253@psf.upfronthosting.co.za>
2015-01-15 14:19:33pekka.klarcksetrecipients: + pekka.klarck
2015-01-15 14:19:33pekka.klarcklinkissue2253 messages
2015-01-15 14:19:32pekka.klarckcreate