def METHOD_NAME(
    dyv_volume_labels: dict[str, str],
    s3_path: Path,
    r_clone_ls_output: str,
    volume_name: str,
) -> None:
    """
    This message will be logged as warning if any files will be synced
    """
    log_level = logging.INFO if r_clone_ls_output.strip() == "" else logging.WARNING
    formatted_message = dedent(
        f"""
        ---
        Volume data
        ---
        volume_name         {volume_name}
        destination_path    {s3_path}
        study_id:           {dyv_volume_labels['study_id']}
        node_id:            {dyv_volume_labels['node_uuid']}
        user_id:            {dyv_volume_labels['user_id']}
        run_id:             {dyv_volume_labels['run_id']}
        ---
        Files to sync by rclone
        ---\n{r_clone_ls_output.rstrip()}
        ---
    """
    )
    logger.log(log_level, formatted_message)