Skip to content

Commit 2a1a23c

Browse files
authored
Revert "chore(stackable-operator): Deprecate initialize_logging function (#950)" (#987)
This reverts commit cbb7cc5.
1 parent cbb7cc5 commit 2a1a23c

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

crates/stackable-operator/CHANGELOG.md

-12
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,8 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7-
### Changed
8-
9-
- Deprecate `stackable_operator::logging::initialize_logging()`. It's recommended to use `stackable-telemetry` instead ([#950]).
10-
11-
[#950]: https://github.com/stackabletech/operator-rs/pull/950
12-
137
## [0.87.4] - 2025-03-17
148

15-
### Changed
16-
17-
- Bump `kube` to 0.99.0 and `json-patch` to 4.0.0 ([#982]).
18-
19-
[#982]: https://github.com/stackabletech/operator-rs/pull/982
20-
219
## [0.87.3] - 2025-03-14
2210

2311
### Added

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

-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ 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 instead, use OTLP instead of Jaeger protocol")]
3231
pub fn initialize_logging(env: &str, app_name: &str, tracing_target: TracingTarget) {
3332
let filter = match EnvFilter::try_from_env(env) {
3433
Ok(env_filter) => env_filter,
@@ -95,7 +94,6 @@ mod tests {
9594
// NOT_SET=debug cargo test default_tracing -- --nocapture
9695
// to see them all.
9796
#[test]
98-
#[allow(deprecated)]
9997
fn default_tracing_level_is_set_to_info() {
10098
super::initialize_logging("NOT_SET", "test", TracingTarget::None);
10199

0 commit comments

Comments
 (0)