def test_log_level_propagation(self):
        """Test that log levels are correctly set in the config"""
        test_cases = [
            ('debug', 'DEBUG'),
            ('info', 'INFO'),
            ('warning', 'WARNING'),
            ('error', 'ERROR')
        ]

        for input_level, expected_level in test_cases:
            with patch.dict(os.environ, {'MARQO_LOG_LEVEL': input_level, 'MARQO_LOG_FORMAT': 'plain'}):
                importlib.reload(marqo_logging)
                from marqo.logging import LOGGING_CONFIG

                self.assertEqual(LOGGING_CONFIG['root']['level'], expected_level)
                self.assertEqual(LOGGING_CONFIG['loggers']['uvicorn']['level'], expected_level)
Test that log levels are correctly set in the config
tests/unit_tests/marqo/test_logging.py