log.debug: cache log.isEnabledFor(logging.DEBUG) at import time