diff --git a/bin/src/command/requests.rs b/bin/src/command/requests.rs
index 2769d6cc2..10ec7bfd9 100644
--- a/bin/src/command/requests.rs
+++ b/bin/src/command/requests.rs
@@ -64,7 +64,9 @@ impl CommandServer {
Err(_) => Err(anyhow::Error::msg("wrong i32 for metrics configuration")),
}
}
- Some(RequestType::Logging(logging_filter)) => self.set_logging_level(logging_filter),
+ Some(RequestType::Logging(logging_filter)) => {
+ self.set_logging_level(logging_filter, client_id).await
+ }
Some(RequestType::SubscribeEvents(_)) => {
self.event_subscribers.insert(client_id.clone());
Ok(Some(Success::SubscribeEvent(client_id.clone())))
@@ -1187,7 +1189,11 @@ impl CommandServer {
Ok(None)
}
- pub fn set_logging_level(&mut self, logging_filter: String) -> anyhow::Result