From b2aed3469199d897d560d3953fc77a97f7a8f7e1 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:09:41 +0200 Subject: [PATCH 1/3] fix: Use `json` file extension for log files --- rust/operator-binary/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/operator-binary/src/main.rs b/rust/operator-binary/src/main.rs index ca5ad833..90a04578 100644 --- a/rust/operator-binary/src/main.rs +++ b/rust/operator-binary/src/main.rs @@ -102,7 +102,7 @@ async fn main() -> anyhow::Result<()> { Settings::builder() .with_environment_variable(ENV_VAR_CONSOLE_LOG) .with_default_level(LevelFilter::INFO) - .file_log_settings_builder(log_directory, "tracing-rs.log") + .file_log_settings_builder(log_directory, "tracing-rs.json") .with_rotation_period(rotation_period) .build() })) From bbc8cae67c8cac75cd4e69cd9e2433205ad210aa Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:11:17 +0200 Subject: [PATCH 2/3] chore: Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90a13da7..037055bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,13 @@ All notable changes to this project will be documented in this file. (or via `--rolling-logs `). - Replace stackable-operator `print_startup_string` with `tracing::info!` with fields. + +### Fixed + +- Use `json` file extension for log files ([#553]). + [#547]: https://github.com/stackabletech/spark-k8s-operator/pull/547 +[#553]: https://github.com/stackabletech/spark-k8s-operator/pull/553 ## [25.3.0] - 2025-03-21 From 475502c74a4a50e5effaa724b764ca3fa66df0e4 Mon Sep 17 00:00:00 2001 From: Techassi Date: Wed, 9 Apr 2025 11:17:22 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 037055bc..9038d44d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,6 @@ All notable changes to this project will be documented in this file. (or via `--rolling-logs `). - Replace stackable-operator `print_startup_string` with `tracing::info!` with fields. - ### Fixed - Use `json` file extension for log files ([#553]).