Skip to content

Commit 432d25d

Browse files
committed
add some more noisy stuff
1 parent 9800929 commit 432d25d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

services/director-v2/src/simcore_service_director_v2/core/application.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def _set_exception_handlers(app: FastAPI):
9999
"aio_pika",
100100
"aiormq",
101101
"httpcore",
102+
"httpx",
102103
)
103104

104105

@@ -201,9 +202,7 @@ def init_app(settings: AppSettings | None = None) -> FastAPI:
201202
socketio.setup(app)
202203
notifier.setup(app)
203204

204-
if (
205-
settings.DIRECTOR_V2_COMPUTATIONAL_BACKEND.COMPUTATIONAL_BACKEND_DASK_CLIENT_ENABLED
206-
):
205+
if settings.DIRECTOR_V2_COMPUTATIONAL_BACKEND.COMPUTATIONAL_BACKEND_DASK_CLIENT_ENABLED:
207206
dask_clients_pool.setup(app, settings.DIRECTOR_V2_COMPUTATIONAL_BACKEND)
208207

209208
if computational_backend_enabled:

services/director/src/simcore_service_director/core/application.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
from .settings import ApplicationSettings
2323

2424
_LOG_LEVEL_STEP = logging.CRITICAL - logging.ERROR
25-
_NOISY_LOGGERS: Final[tuple[str]] = ("werkzeug",)
25+
_NOISY_LOGGERS: Final[tuple[str, ...]] = (
26+
"httpcore",
27+
"httpx",
28+
"werkzeug",
29+
)
2630

2731
_logger = logging.getLogger(__name__)
2832

0 commit comments

Comments
 (0)