Skip to content

Commit fb6e43d

Browse files
committed
chore: Replace print_startup_string with structured event
1 parent 8742c2f commit fb6e43d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

rust/operator-binary/src/main.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,14 @@ async fn main() -> anyhow::Result<()> {
6161
APP_NAME,
6262
tracing_target,
6363
);
64-
stackable_operator::utils::print_startup_string(
65-
crate_description!(),
66-
crate_version!(),
67-
built_info::GIT_VERSION,
68-
built_info::TARGET,
69-
built_info::BUILT_TIME_UTC,
70-
built_info::RUSTC_VERSION,
64+
tracing::info!(
65+
pkg.version = crate_version!(),
66+
built_info.git_version = built_info::GIT_VERSION,
67+
built_info.target = built_info::TARGET,
68+
built_info.built_time_utc = built_info::BUILT_TIME_UTC,
69+
built_info.rustc_version = built_info::RUSTC_VERSION,
70+
"Starting {description}",
71+
description = crate_description!()
7172
);
7273
let product_config = product_config.load(&[
7374
"deploy/config-spec/properties.yaml",

0 commit comments

Comments
 (0)