Skip to content

Commit 23f2130

Browse files
committed
chore: Replace print_startup_string with structured event
1 parent be97330 commit 23f2130

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
@@ -62,13 +62,14 @@ async fn main() -> anyhow::Result<()> {
6262
APP_NAME,
6363
tracing_target,
6464
);
65-
stackable_operator::utils::print_startup_string(
66-
built_info::PKG_DESCRIPTION,
67-
built_info::PKG_VERSION,
68-
built_info::GIT_VERSION,
69-
built_info::TARGET,
70-
built_info::BUILT_TIME_UTC,
71-
built_info::RUSTC_VERSION,
65+
tracing::info!(
66+
built_info.pkg_version = built_info::PKG_VERSION,
67+
built_info.git_version = built_info::GIT_VERSION,
68+
built_info.target = built_info::TARGET,
69+
built_info.built_time_utc = built_info::BUILT_TIME_UTC,
70+
built_info.rustc_version = built_info::RUSTC_VERSION,
71+
"Starting {description}",
72+
description = built_info::PKG_DESCRIPTION
7273
);
7374
let product_config = product_config.load(&[
7475
"deploy/config-spec/properties.yaml",

0 commit comments

Comments
 (0)