diff --git a/crates/stackable-operator/CHANGELOG.md b/crates/stackable-operator/CHANGELOG.md index ff1f57902..7d564007e 100644 --- a/crates/stackable-operator/CHANGELOG.md +++ b/crates/stackable-operator/CHANGELOG.md @@ -4,8 +4,20 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Changed + +- Deprecate `stackable_operator::logging::initialize_logging()`. It's recommended to use `stackable-telemetry` instead ([#950]). + +[#950]: https://github.com/stackabletech/operator-rs/pull/950 + ## [0.87.4] - 2025-03-17 +### Changed + +- Bump `kube` to 0.99.0 and `json-patch` to 4.0.0 ([#982]). + +[#982]: https://github.com/stackabletech/operator-rs/pull/982 + ## [0.87.3] - 2025-03-14 ### Added diff --git a/crates/stackable-operator/src/logging/mod.rs b/crates/stackable-operator/src/logging/mod.rs index 861edfa51..71a14045a 100644 --- a/crates/stackable-operator/src/logging/mod.rs +++ b/crates/stackable-operator/src/logging/mod.rs @@ -28,6 +28,7 @@ impl Default for TracingTarget { /// /// Log output can be copied to a file by setting `{env}_DIRECTORY` (e.g. `FOOBAR_OPERATOR_DIRECTORY`) /// to a directory path. This file will be rotated regularly. +#[deprecated(note = "Use stackable-telemetry instead, use OTLP instead of Jaeger protocol")] pub fn initialize_logging(env: &str, app_name: &str, tracing_target: TracingTarget) { let filter = match EnvFilter::try_from_env(env) { Ok(env_filter) => env_filter, @@ -94,6 +95,7 @@ mod tests { // NOT_SET=debug cargo test default_tracing -- --nocapture // to see them all. #[test] + #[allow(deprecated)] fn default_tracing_level_is_set_to_info() { super::initialize_logging("NOT_SET", "test", TracingTarget::None);