mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Reduce log spam (#543)
This commit is contained in:
parent
52b133fc86
commit
b7bf7388aa
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