Message9400
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 |
|
Date |
User |
Action |
Args |
2015-01-15 14:19:33 | pekka.klarck | set | messageid: <1421331573.04.0.193672692675.issue2253@psf.upfronthosting.co.za> |
2015-01-15 14:19:33 | pekka.klarck | set | recipients:
+ pekka.klarck |
2015-01-15 14:19:33 | pekka.klarck | link | issue2253 messages |
2015-01-15 14:19:32 | pekka.klarck | create | |
|