From c86adc10e3b00324afa226772babd24ef480963e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vilhelm=20Bergs=C3=B8e?= Date: Fri, 13 Mar 2026 10:54:53 +0100 Subject: [PATCH] filter out BuildLogLine and Progress logs in daemon --- src/main.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2905ea0..14f4ab9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -414,12 +414,14 @@ fn process_event(event: NixEvent, state: &Arc>) -> Result<()> { "result" => { let res_type = ResultType::from(event.event_type); - info!( - id = event.id, - res_type = %res_type, - fields = ?event.fields, - "result" - ); + if res_type != ResultType::BuildLogLine && res_type != ResultType::Progress { + info!( + id = event.id, + res_type = %res_type, + fields = ?event.fields, + "result" + ); + } if let Some(act) = s.active_activities.get_mut(&event.id) { if res_type == ResultType::Progress { -- 2.51.2