Skip to content

Commit 96e2de5

Browse files
committed
fix: suppress httpx/httpcore debug logging
1 parent 311e668 commit 96e2de5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/register.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
2323
)
2424
logger = logging.getLogger(__name__)
25-
for lib in ["botocore", "s3fs", "aiobotocore", "urllib3"]:
25+
26+
# Suppress verbose library logging
27+
for lib in ["botocore", "s3fs", "aiobotocore", "urllib3", "httpx", "httpcore"]:
2628
logging.getLogger(lib).setLevel(logging.WARNING)
2729

2830
EXPLORER_BASE = os.getenv("EXPLORER_BASE_URL", "https://explorer.eopf.copernicus.eu")

0 commit comments

Comments
 (0)