code: def init_logging(log_level=logging.DEBUG):
      
      logging.root.handlers = []  # remove possible side-effects from other libs
      logger = logging.getLogger("inginious")
      logger.setLevel(log_level)
      ch = logging.StreamHandler()
      ch.setLevel(log_level)
      formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
      ch.setFormatter(formatter)
      logger.addHandler(ch)
docs: Init logging
      :param log_level: An integer representing the log level or a string representing one