code: def configure_loggers(self, log_dir, settings_folder):
      logging_config = copy.deepcopy(DEFAULT_LOGGING_CONFIG)
      logging_config["handlers"]["task"]["base_log_folder"] = log_dir
      logging_config["handlers"]["task"][
          "filename_template"
      ] = self.FILENAME_TEMPLATE
      settings_file = os.path.join(
          settings_folder, "airflow_local_settings_test.py"
      )
      with open(settings_file, "w") as handle:
          new_logging_file = f"LOGGING_CONFIG = {logging_config}"
          handle.writelines(new_logging_file)
      with conf_vars(
          {
              (
                  "logging",
                  "logging_config_class",
              ): "airflow_local_settings_test.LOGGING_CONFIG"
          }
      ):
          settings.configure_logging()
      yield
      logging.config.dictConfig(DEFAULT_LOGGING_CONFIG)
  
imports: from __future__ import annotations
  import copy
  import datetime
  import logging
  import os
  import sys
  import tempfile
  from typing import TYPE_CHECKING
  from unittest import mock
  import pendulum
  import pytest
  from airflow import settings
  from airflow.config_templates.airflow_local_settings import DEFAULT_LOGGING_CONFIG
  from airflow.models.tasklog import LogTemplate
  from airflow.operators.python import PythonOperator
  from airflow.timetables.base import DataInterval
  from airflow.utils import timezone
  from airflow.utils.log.log_reader import TaskLogReader
  from airflow.utils.log.logging_mixin import ExternalLoggingMixin
  from airflow.utils.state import TaskInstanceState
  from airflow.utils.types import DagRunType
  from tests.test_utils.config import conf_vars
  from tests.test_utils.db import clear_db_dags, clear_db_runs
label_desc: Use image node_id 3 for calling the TestLogView obj's underlying member method code with example usage: obj.configure_loggers(log_dir, settings_folder) without return types