From 0df97071e2739ced644d64a03d75a88724410f40 Mon Sep 17 00:00:00 2001 From: Seth-Schmidt Date: Wed, 3 Apr 2024 20:12:18 -0400 Subject: [PATCH] fix: disable unnecessary logging by httpx in core-api --- snapshotter/core_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapshotter/core_api.py b/snapshotter/core_api.py index 095d9f7..151290c 100644 --- a/snapshotter/core_api.py +++ b/snapshotter/core_api.py @@ -30,6 +30,9 @@ # setup logging rest_logger = logger.bind(module='CoreAPI') +# Disables unnecessary logging for httpx requests +rest_logger.disable('httpcore._trace') +rest_logger.disable('httpx._client') protocol_state_contract_abi = read_json_file( settings.protocol_state.abi,