docstr: Test if logging can be configured successfully with kwargs
docstr_tok: ["Test","if","logging","can","be","configured","successfully","with","kwargs"]
code: def test_loading_remote_logging_with_kwargs(self):
      """Test if logging can be configured successfully with kwargs"""
      from airflow.config_templates import airflow_local_settings
      from airflow.logging_config import configure_logging
      from airflow.utils.log.s3_task_handler import S3TaskHandler
  
      with conf_vars(
          {
              ("logging", "remote_logging"): "True",
              ("logging", "remote_log_conn_id"): "some_s3",
              ("logging", "remote_base_log_folder"): "s3://some-folder",
              (
                  "logging",
                  "remote_task_handler_kwargs",
              ): '{"delete_local_copy": true}',
          }
      ):
          importlib.reload(airflow_local_settings)
          configure_logging()
  
      logger = logging.getLogger("airflow.task")
      assert isinstance(logger.handlers[0], S3TaskHandler)
      assert getattr(logger.handlers[0], "delete_local_copy") is True
  
imports: from __future__ import annotations
  import contextlib
  import importlib
  import logging
  import os
  import pathlib
  import sys
  import tempfile
  from unittest.mock import patch
  import pytest
  from airflow.configuration import conf
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 12 for calling the TestLoggingSettings obj's underlying member method code with example usage: obj.test_loading_remote_logging_with_kwargs() without return types