From 60ea83b76162461e7b9492d9b8996e7de5227a18 Mon Sep 17 00:00:00 2001 From: Jarrod Overson Date: Fri, 4 Aug 2023 12:06:35 -0400 Subject: [PATCH] refactor: moved warn events to debug --- .../src/interpreter/executor/transaction.rs | 2 +- .../flow-graph-interpreter/src/interpreter/program/validator.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wick/flow-graph-interpreter/src/interpreter/executor/transaction.rs b/crates/wick/flow-graph-interpreter/src/interpreter/executor/transaction.rs index c9d88ead..1b3c7ff9 100644 --- a/crates/wick/flow-graph-interpreter/src/interpreter/executor/transaction.rs +++ b/crates/wick/flow-graph-interpreter/src/interpreter/executor/transaction.rs @@ -212,7 +212,7 @@ impl Transaction { } else if packet.is_noop() { // TODO: propagate this and/or its context if it becomes an issue. } else { - warn!(port = packet.port(), "dropping packet for unconnected port"); + debug!(port = packet.port(), "dropping packet for unconnected port"); } } }); diff --git a/crates/wick/flow-graph-interpreter/src/interpreter/program/validator.rs b/crates/wick/flow-graph-interpreter/src/interpreter/program/validator.rs index 82690711..fed59974 100644 --- a/crates/wick/flow-graph-interpreter/src/interpreter/program/validator.rs +++ b/crates/wick/flow-graph-interpreter/src/interpreter/program/validator.rs @@ -106,7 +106,7 @@ impl Validator { let mut walker = SchematicWalker::from_port(schematic, port.detached(), WalkDirection::Down); let next = walker.nth(1); if next.is_none() { - warn!(id=node.name.clone(), operation = %reference, port = %field.name, "unhandled downstream connection"); + debug!(id=node.name.clone(), operation = %reference, port = %field.name, "unhandled downstream connection"); // validation_errors.push(ValidationError::UnusedOutput { // port: field.name.clone(), // id: node.name.clone(),