diff --git a/tests/otel_integrations/test_celery.py b/tests/otel_integrations/test_celery.py index 784aff242..94a1cdab4 100644 --- a/tests/otel_integrations/test_celery.py +++ b/tests/otel_integrations/test_celery.py @@ -35,6 +35,7 @@ @pytest.fixture def celery_app() -> Iterator[Celery]: app = Celery('tasks', broker='redis://localhost:6379/0', backend='redis://localhost:6379/0') + celery_app.conf.update(worker_hijack_root_logger=False) # type: ignore @app.task(name='tasks.say_hello') # type: ignore def say_hello(): # type: ignore