Skip to content

Commit

Permalink
fix: disable unnecessary logging by httpx in core-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth-Schmidt committed Apr 4, 2024
1 parent 70bfcfe commit 0df9707
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snapshotter/core_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0df9707

Please sign in to comment.