Lines Matching refs:level
90 # PYXPCOM_LOG_LEVEL=level - level may be a number or a logging level
92 # Later it may make sense to allow a different log level to be set for
141 # Allow PYXPCOM_LOG_LEVEL to set the level
142 level = os.environ.get("PYXPCOM_LOG_LEVEL")
143 if level:
145 level = int(level)
149 level = int(getattr(logging, level.upper()))
152 "invalid level")
153 level = None
154 if level:
155 logger.setLevel(level)