fix(logging): suppress noisy httpx INFO logs (#3173)

Set httpx logger level to WARNING in init_logging to prevent
HTTP request traces from flooding the terminal during train and
eval scripts.

Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>
This commit is contained in:
Reece O'Mahoney
2026-03-26 20:05:15 +00:00
committed by GitHub
parent 123495250b
commit aa9cc9bd43
+2
View File
@@ -95,6 +95,8 @@ def init_logging(
file_handler.setLevel(file_level.upper())
logger.addHandler(file_handler)
logging.getLogger("httpx").setLevel(logging.WARNING)
def format_big_number(num, precision=0):
suffixes = ["", "K", "M", "B", "T", "Q"]