commit ebfa9e4450ec799e9e2c28b20af551805635bf98
parent 4d124c05fa6a72bece1cf8560a3a767f139d1a3f
Author: William Casarin <jb55@jb55.com>
Date: Fri, 15 Nov 2024 10:11:04 -0800
fix log message for relay states
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/filter.rs b/src/filter.rs
@@ -72,9 +72,9 @@ impl FilterStates {
pub fn set_relay_state(&mut self, relay: String, state: FilterState) {
if self.states.contains_key(&relay) {
let current_state = self.states.get(&relay).unwrap();
- warn!(
- "set_relay_state: we already have the {:?} state set for {}. overriding with {:?}",
- current_state, &relay, state
+ debug!(
+ "set_relay_state: {:?} -> {:?} on {}",
+ current_state, state, &relay,
);
}
self.states.insert(relay, state);