refactor: replace print statements with proper logging (#25773)

This commit is contained in:
-LAN-
2025-09-18 20:35:47 +08:00
committed by GitHub
parent bb01c31f30
commit 4ba1292455
8 changed files with 30 additions and 12 deletions

View File

@@ -417,7 +417,7 @@ class WeaveDataTrace(BaseTraceInstance):
if not login_status:
raise ValueError("Weave login failed")
else:
print("Weave login successful")
logger.info("Weave login successful")
return True
except Exception as e:
logger.debug("Weave API check failed: %s", str(e))