Message279351
> How about logger.disabled = True.
This seems to violate "there should be one and only one way to do it". What happens when logging.disabled is True but then logging.disable(logging.NOTSET) is called? I could see this being a gotcha.
Since logging.CRITICAL is 50, I think it's reasonable to assume that no one would create a logging level larger than sys.maxsize. |
|
Date |
User |
Action |
Args |
2016-10-25 03:35:11 | Al.Sweigart | set | recipients:
+ Al.Sweigart, rhettinger, vinay.sajip, xiang.zhang |
2016-10-25 03:35:11 | Al.Sweigart | set | messageid: <1477366511.06.0.666464118021.issue28524@psf.upfronthosting.co.za> |
2016-10-25 03:35:11 | Al.Sweigart | link | issue28524 messages |
2016-10-25 03:35:10 | Al.Sweigart | create | |
|