Remove debug logging from Neo4J operations
- Delete node upsert debug log - Remove edge upsert debug messages
This commit is contained in:
parent
cc12460b38
commit
64d0df0caa
1 changed files with 1 additions and 9 deletions
|
|
@ -766,9 +766,6 @@ class Neo4JStorage(BaseGraphStorage):
|
|||
result = await tx.run(
|
||||
query, entity_id=node_id, properties=properties
|
||||
)
|
||||
logger.debug(
|
||||
f"Upserted node with entity_id '{node_id}' and properties: {properties}"
|
||||
)
|
||||
await result.consume() # Ensure result is fully consumed
|
||||
|
||||
await session.execute_write(execute_upsert)
|
||||
|
|
@ -824,12 +821,7 @@ class Neo4JStorage(BaseGraphStorage):
|
|||
properties=edge_properties,
|
||||
)
|
||||
try:
|
||||
records = await result.fetch(2)
|
||||
if records:
|
||||
logger.debug(
|
||||
f"Upserted edge from '{source_node_id}' to '{target_node_id}'"
|
||||
f"with properties: {edge_properties}"
|
||||
)
|
||||
await result.fetch(2)
|
||||
finally:
|
||||
await result.consume() # Ensure result is consumed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue