code: def configure_logger(level, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s'):
      # type: (int, str) -> None
      
      logging.basicConfig(format=format, level=level)
  
      if level >= logging.INFO:
          logging.getLogger('boto3').setLevel(logging.INFO)
          logging.getLogger('s3transfer').setLevel(logging.INFO)
          logging.getLogger('botocore').setLevel(logging.WARN)
docs: Set logger configuration.
  
      Args:
          level (int): Logger level
          format (str): Logger format