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(
|
result = await tx.run(
|
||||||
query, entity_id=node_id, properties=properties
|
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 result.consume() # Ensure result is fully consumed
|
||||||
|
|
||||||
await session.execute_write(execute_upsert)
|
await session.execute_write(execute_upsert)
|
||||||
|
|
@ -824,12 +821,7 @@ class Neo4JStorage(BaseGraphStorage):
|
||||||
properties=edge_properties,
|
properties=edge_properties,
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
records = await result.fetch(2)
|
await result.fetch(2)
|
||||||
if records:
|
|
||||||
logger.debug(
|
|
||||||
f"Upserted edge from '{source_node_id}' to '{target_node_id}'"
|
|
||||||
f"with properties: {edge_properties}"
|
|
||||||
)
|
|
||||||
finally:
|
finally:
|
||||||
await result.consume() # Ensure result is consumed
|
await result.consume() # Ensure result is consumed
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue