Skip to content

Commit f99833a

Browse files
committed
chore: Merge branch 'main' into chore/add-crd-versioning
2 parents c6d8c48 + 91beab2 commit f99833a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

crates/stackable-operator/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ All notable changes to this project will be documented in this file.
1515
- Each CRD-related struct and enum has been versioned. The initial version is `v1alpha1`.
1616
- The `static` authentication provider must now be imported using `r#static`.
1717
- Import are now more granular in general.
18+
- Deprecate `stackable_operator::logging::initialize_logging()`. It's recommended to use `stackable-telemetry` instead
19+
([#950], [#989]).
1820

21+
[#950]: https://github.com/stackabletech/operator-rs/pull/950
1922
[#968]: https://github.com/stackabletech/operator-rs/pull/968
23+
[#989]: https://github.com/stackabletech/operator-rs/pull/989
2024
[#992]: https://github.com/stackabletech/operator-rs/pull/992
2125

2226
## [0.87.5] - 2025-03-19

crates/stackable-operator/src/logging/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ impl Default for TracingTarget {
2828
///
2929
/// Log output can be copied to a file by setting `{env}_DIRECTORY` (e.g. `FOOBAR_OPERATOR_DIRECTORY`)
3030
/// to a directory path. This file will be rotated regularly.
31+
#[deprecated(note = "Use stackable-telemetry with the OTLP instead of the Jaeger protocol")]
3132
pub fn initialize_logging(env: &str, app_name: &str, tracing_target: TracingTarget) {
3233
let filter = match EnvFilter::try_from_env(env) {
3334
Ok(env_filter) => env_filter,
@@ -94,6 +95,7 @@ mod tests {
9495
// NOT_SET=debug cargo test default_tracing -- --nocapture
9596
// to see them all.
9697
#[test]
98+
#[allow(deprecated)]
9799
fn default_tracing_level_is_set_to_info() {
98100
super::initialize_logging("NOT_SET", "test", TracingTarget::None);
99101

0 commit comments

Comments
 (0)