improvement: log client id for subscription removal

This commit is contained in:
Greg Heartsfield 2022-08-21 09:11:38 -07:00
parent e6fef37d4e
commit 01d81db617

View File

@ -95,8 +95,9 @@ impl ClientConn {
// TODO: return notice if subscription did not exist. // TODO: return notice if subscription did not exist.
self.subscriptions.remove(&c.id); self.subscriptions.remove(&c.id);
debug!( debug!(
"removed subscription, currently have {} active subs", "removed subscription, currently have {} active subs (cid={})",
self.subscriptions.len() self.subscriptions.len(),
self.client_id
); );
} }
} }