def logging_level(runlevel):
 if runlevel:
  return LOG_VALUES[runlevel]
 else:
  return (logging.FATAL + 5)

def logging_level ( runlevel ) : if runlevel : return LOG_VALUES [ runlevel ] else : return ( logging . FATAL + 5 )
translates a runlevel into the value expected by the logging module .