From 35e367693073151d65fef65ce570aa8833ab8439 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 27 Aug 2024 07:20:05 +0100 Subject: [PATCH] fix(tui): remove logging of tui updates --- crates/cli/src/repo/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/cli/src/repo/mod.rs b/crates/cli/src/repo/mod.rs index d413875..7bcb502 100644 --- a/crates/cli/src/repo/mod.rs +++ b/crates/cli/src/repo/mod.rs @@ -114,14 +114,10 @@ impl RepoActor { } } - #[instrument] fn update_tui_log(&self, log: git::graph::Log) { - info!("ready to send log"); #[cfg(feature = "tui")] { - info!("sending..."); self.update_tui(RepoUpdate::Log { log }); - info!("sent"); } } @@ -152,7 +148,7 @@ impl RepoActor { } impl Actor for RepoActor { type Context = Context; - #[tracing::instrument(name = "RepoActor::stopping", skip_all, fields(repo = %self.repo_details))] + #[instrument(name = "RepoActor::stopping", skip_all, fields(repo = %self.repo_details))] fn stopping(&mut self, ctx: &mut Self::Context) -> Running { tracing::debug!("stopping"); info!("Checking webhook");