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
commit 4ba1292455
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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))