File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
55## [ Unreleased]
66
7+ ### Changed
8+
9+ - All output is now wrapped in a "containerdebug" span ([ #18 ] ).
10+
11+ [ #18 ] : https://github.com/stackabletech/containerdebug/pull/18
12+
713## [ 0.1.0] - 2024-12-09
814
915### Added
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ fn main() {
4242 APP_NAME ,
4343 opts. tracing_target ,
4444 ) ;
45+
46+ // Wrap *all* output in a span, to separate it from main app output.
47+ let _span = tracing:: error_span!( "containerdebug" ) . entered ( ) ;
48+
4549 stackable_operator:: utils:: print_startup_string (
4650 crate_description ! ( ) ,
4751 crate_version ! ( ) ,
@@ -62,7 +66,6 @@ fn main() {
6266 let system_information = SystemInformation :: collect ( ) ;
6367
6468 let serialized = serde_json:: to_string_pretty ( & system_information) . unwrap ( ) ;
65- // println!("{serialized}");
6669 if let Some ( output_path) = & opts. output {
6770 std:: fs:: write ( output_path, & serialized) . unwrap ( ) ;
6871 }
You can’t perform that action at this time.
0 commit comments