We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487a498 commit 17ade7dCopy full SHA for 17ade7d
src/main.rs
@@ -42,6 +42,10 @@ fn main() {
42
APP_NAME,
43
opts.tracing_target,
44
);
45
+
46
+ // Wrap *all* output in a span, to separate it from main app output.
47
+ let _span = tracing::error_span!("containerdebug").entered();
48
49
stackable_operator::utils::print_startup_string(
50
crate_description!(),
51
crate_version!(),
@@ -62,7 +66,6 @@ fn main() {
62
66
let system_information = SystemInformation::collect();
63
67
64
68
let serialized = serde_json::to_string_pretty(&system_information).unwrap();
65
- // println!("{serialized}");
69
if let Some(output_path) = &opts.output {
70
std::fs::write(output_path, &serialized).unwrap();
71
}
0 commit comments