https://github.com/python-mirror/python/blob/2.7/Lib/logging/__init__.py#L588