mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-24 02:39:17 -05:00
Suppress noisy third-party library debug logs
- Set hpack and httpcore loggers to WARNING level - These libraries produce excessive protocol-level debug output - Improves signal-to-noise ratio in logs
This commit is contained in:
@@ -122,6 +122,11 @@ def setup_logfire(
|
||||
force=True,
|
||||
)
|
||||
|
||||
# Suppress noisy third-party library logs
|
||||
# These libraries log low-level details that are rarely useful
|
||||
logging.getLogger("hpack").setLevel(logging.WARNING)
|
||||
logging.getLogger("httpcore").setLevel(logging.WARNING)
|
||||
|
||||
_logfire_configured = True
|
||||
logging.info(
|
||||
f"📋 Logging configured (Logfire: {'enabled' if _logfire_enabled else 'disabled'})"
|
||||
|
||||
Reference in New Issue
Block a user