def fixture_propagate_logs() -> t.Generator[None, None, None]:
    """BentoML sets propagate to False by default, hence this fixture enable log propagation."""
    logger = logging.getLogger("bentoml")
    logger.propagate = True
    yield
    # restore propagate to False after tests
    logger.propagate = False
BentoML sets propagate to False by default, hence this fixture enable log propagation.
tests/unit/conftest.py