def get_stdout_levelname(): """Return the log levelname.""" return logging._levelToName[stdout_logger.level]