Skip to content

Commit

Permalink
Changed logging to stderr instead of stdout (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
vToMy authored Jan 12, 2025
1 parent 643a23f commit f56d6fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/unifiedlog_parser/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f56d6fc

Please sign in to comment.