From aaabc92880744647b19a2aabce0364582bdc4d4c Mon Sep 17 00:00:00 2001 From: Sylvain <35365065+sanderegg@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:12:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BDeferred=20tasks:=20set=20default?= =?UTF-8?q?=20log=20level=20of=20messages=20in=20Faststream=20broker=20to?= =?UTF-8?q?=20DEBUG=20(#6589)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/servicelib/deferred_tasks/_deferred_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/service-library/src/servicelib/deferred_tasks/_deferred_manager.py b/packages/service-library/src/servicelib/deferred_tasks/_deferred_manager.py index 2427b25340e..b49990a7834 100644 --- a/packages/service-library/src/servicelib/deferred_tasks/_deferred_manager.py +++ b/packages/service-library/src/servicelib/deferred_tasks/_deferred_manager.py @@ -134,7 +134,9 @@ def __init__( ClassUniqueReference, type[BaseDeferredHandler] ] = {} - self.broker: RabbitBroker = RabbitBroker(rabbit_settings.dsn) + self.broker: RabbitBroker = RabbitBroker( + rabbit_settings.dsn, log_level=logging.DEBUG + ) self.router: RabbitRouter = RabbitRouter() # NOTE: do not move this to a function, must remain in constructor