From 771537701e93e34aa28534fa5d7d0b08164218fe Mon Sep 17 00:00:00 2001 From: Alan Hanson Date: Tue, 28 Jul 2026 18:37:56 +0000 Subject: [PATCH] improve log message when downstairs join an active upstairs --- upstairs/src/downstairs.rs | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/upstairs/src/downstairs.rs b/upstairs/src/downstairs.rs index 0b95e0a89..5530cfcf4 100644 --- a/upstairs/src/downstairs.rs +++ b/upstairs/src/downstairs.rs @@ -2044,12 +2044,21 @@ impl Downstairs { ) { c.set_active(); } else { - warn!( - self.log, - "client {} is in state {:?} not ready for activation", - i, - c.state(), - ); + if matches!(c.state(), DsState::Active) { + info!( + self.log, + "client {} is in state {:?}, Already active", + i, + c.state(), + ); + } else { + warn!( + self.log, + "client {} is in state {:?} not ready for activation", + i, + c.state(), + ); + } } } }