mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-04 20:35:14 +02:00
Reduce log spam
This commit is contained in:
parent
d1456e547c
commit
90415264b4
1 changed files with 1 additions and 2 deletions
|
|
@ -599,8 +599,7 @@ def _send_to_trustgraph(objects, api_url, flow, batch_size=1000):
|
|||
imported_count += 1
|
||||
|
||||
if imported_count % 100 == 0:
|
||||
logger.info(f"Imported {imported_count}/{len(objects)} records...")
|
||||
print(f"✅ Imported {imported_count}/{len(objects)} records...")
|
||||
logger.debug(f"Imported {imported_count}/{len(objects)} records...")
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Failed to send record {imported_count + 1}: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue