Skip to content

Commit ae2eb94

Browse files
committed
chore: Replace print_startup_string with structured event
1 parent 4bbd9e0 commit ae2eb94

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Diff for: rust/operator-binary/src/main.rs

+8-7
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,14 @@ async fn main() -> anyhow::Result<()> {
6565
APP_NAME,
6666
tracing_target,
6767
);
68-
stackable_operator::utils::print_startup_string(
69-
crate_description!(),
70-
crate_version!(),
71-
built_info::GIT_VERSION,
72-
built_info::TARGET,
73-
built_info::BUILT_TIME_UTC,
74-
built_info::RUSTC_VERSION,
68+
tracing::info!(
69+
pkg.version = crate_version!(),
70+
built_info.git_version = built_info::GIT_VERSION,
71+
built_info.target = built_info::TARGET,
72+
built_info.built_time_utc = built_info::BUILT_TIME_UTC,
73+
built_info.rustc_version = built_info::RUSTC_VERSION,
74+
"Starting {description}",
75+
description = crate_description!()
7576
);
7677
let product_config = product_config.load(&[
7778
"deploy/config-spec/properties.yaml",

0 commit comments

Comments
 (0)