code: def setup_logging(args):
      
      handler = logging.StreamHandler()
      handler.setLevel(args.log_level)
      formatter = logging.Formatter(('%(asctime)s - '
                                     '%(name)s - '
                                     '%(levelname)s - '
                                     '%(message)s'))
      handler.setFormatter(formatter)
      LOGGER.addHandler(handler)
docs: This sets up the logging.
  
      Needs the args to get the log level supplied
      :param args: The command line arguments