code: def init_log(log_level):
      
      log_level = log_level or "INFO"
      logging.basicConfig(
          format="%(name)s:%(levelname)s:%(message)s",
          level=getattr(logging, log_level.upper(), logging.INFO),
      )
docs: Initializes logging.