code: def test_configure_trigger_log_handler_root_not_file_task():
      """
      root: A handler that doesn't support trigger or inherit FileTaskHandler
      task: Supports triggerer
      Result:
          * wrap and use the task logger handler
          * other root handlers filter trigger logging
      """
      with conf_vars(
          {
              (
                  "logging",
                  "logging_config_class",
              ): "tests.jobs.test_triggerer_job_logging.root_not_file_task",
          }
      ):
          configure_logging()
  
      # check custom config used
      task_logger = logging.getLogger("airflow.task")
      assert_handlers(task_logger, S3TaskHandler)
  
      # before config
      root_logger = logging.getLogger()
      assert_handlers(root_logger, logging.Handler)
      assert triggerer_job_runner.HANDLER_SUPPORTS_TRIGGERER is False
  
      # configure
      with warnings.catch_warnings(record=True) as captured:
          triggerer_job_runner.configure_trigger_log_handler()
      assert captured == []
  
      # after config
      assert triggerer_job_runner.HANDLER_SUPPORTS_TRIGGERER is True
      handlers = assert_handlers(
          root_logger, logging.Handler, TriggererHandlerWrapper
      )
      # other handlers have DropTriggerLogsFilter
      assert handlers[0].filters[0].__class__ == DropTriggerLogsFilter
      # no filters on wrapper handler
      assert handlers[1].filters == []
      # wrapper handler uses handler from airflow.task
      assert handlers[1].base_handler.__class__ == S3TaskHandler
  
imports: from __future__ import annotations
  import importlib
  import logging
  import warnings
  import pytest
  from airflow.config_templates import airflow_local_settings
  from airflow.jobs import triggerer_job_runner
  from airflow.logging_config import configure_logging
  from airflow.providers.amazon.aws.log.s3_task_handler import S3TaskHandler
  from airflow.utils.log.file_task_handler import FileTaskHandler
  from airflow.utils.log.logging_mixin import RedirectStdHandler
  from airflow.utils.log.trigger_handler import DropTriggerLogsFilter, TriggererHandlerWrapper
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 10 for calling a global function with example usage: test_configure_trigger_log_handler_root_not_file_task() without return types