Message9398

Author pekka.klarck
Recipients pekka.klarck
Date 2015-01-15.14:05:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421330751.08.0.303213694027.issue2254@psf.upfronthosting.co.za>
In-reply-to
Content
Currently all messages logged by _socket are propagated to parent logger causing lot of noise. That can be reproduced using the attached script.

A fix for the problem is adding `log.propagate = False` right after `log = logging.getLogger('_socket')`. After that you get same `No handlers could be found for logger "_socket"` error to console at exit as reported in related issue #2253, though.
History
Date User Action Args
2015-01-15 14:05:51pekka.klarcksetrecipients: + pekka.klarck
2015-01-15 14:05:51pekka.klarcksetmessageid: <1421330751.08.0.303213694027.issue2254@psf.upfronthosting.co.za>
2015-01-15 14:05:51pekka.klarcklinkissue2254 messages
2015-01-15 14:05:50pekka.klarckcreate