Skip to content

Commit 9770beb

Browse files
authored
Fix startup message not beeing shown (#22)
1 parent 0243fdd commit 9770beb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rust/operator-binary/src/main.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ async fn main() -> anyhow::Result<()> {
2727
watch_namespace: _,
2828
tracing_target,
2929
}) => {
30+
stackable_operator::logging::initialize_logging(
31+
"COMMONS_OPERATOR_LOG",
32+
"commons",
33+
tracing_target,
34+
);
3035
stackable_operator::utils::print_startup_string(
3136
built_info::PKG_DESCRIPTION,
3237
built_info::PKG_VERSION,
@@ -35,11 +40,6 @@ async fn main() -> anyhow::Result<()> {
3540
built_info::BUILT_TIME_UTC,
3641
built_info::RUSTC_VERSION,
3742
);
38-
stackable_operator::logging::initialize_logging(
39-
"COMMONS_OPERATOR_LOG",
40-
"commons",
41-
tracing_target,
42-
);
4343

4444
let client = stackable_operator::client::create_client(Some(
4545
"commons.stackable.tech".to_string(),

0 commit comments

Comments
 (0)