def set_log_level(logger_name: str, log_level: str, propagate: bool = False):
    """Set the log level of the specified logger."""
    log = logging.getLogger(logger_name)
    log.propagate = propagate
    log.setLevel(log_level)