From f56d6fcc6af30b24f7801cd09e844d7519a3ec40 Mon Sep 17 00:00:00 2001 From: Tom Kedem Date: Mon, 13 Jan 2025 01:52:19 +0200 Subject: [PATCH] Changed logging to stderr instead of stdout (#53) --- examples/unifiedlog_parser/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/unifiedlog_parser/src/main.rs b/examples/unifiedlog_parser/src/main.rs index cf560a5..a263beb 100644 --- a/examples/unifiedlog_parser/src/main.rs +++ b/examples/unifiedlog_parser/src/main.rs @@ -238,12 +238,12 @@ fn parse_trace_file( writer, &mut oversize_strings, ); - println!("count: {}", log_count); + eprintln!("count: {}", log_count); } let include_missing = false; - println!("Oversize cache size: {}", oversize_strings.oversize.len()); - println!("Logs with missing Oversize strings: {}", missing_data.len()); - println!("Checking Oversize cache one more time..."); + eprintln!("Oversize cache size: {}", oversize_strings.oversize.len()); + eprintln!("Logs with missing Oversize strings: {}", missing_data.len()); + eprintln!("Checking Oversize cache one more time..."); // Since we have all Oversize entries now. Go through any log entries that we were not able to build before for mut leftover_data in missing_data {