From 0eaf193f503755887d24126513c1c8585ad0f15c Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:38:20 +0200 Subject: [PATCH 1/2] 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 6004476b..d80b0a44 100644 --- a/rust/operator-binary/src/main.rs +++ b/rust/operator-binary/src/main.rs @@ -85,7 +85,7 @@ async fn main() -> anyhow::Result<()> { // TODO (@Techassi): Change to CONSOLE_LOG or FILE_LOG, create constant .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 d38488dabd1ce47f91034ee22459549619c5b896 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:39:50 +0200 Subject: [PATCH 2/2] chore: Update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f8c4cd4..b5868e4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,12 @@ 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 ([#709]). + [#703]: https://github.com/stackabletech/druid-operator/pull/703 +[#709]: https://github.com/stackabletech/druid-operator/pull/709 ## [25.3.0] - 2025-03-21