From 364f0c584a47cd6b068601f4adddb73bf2ab53ca Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:18:36 +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 0c425f4e..31eaaf51 100644 --- a/rust/operator-binary/src/main.rs +++ b/rust/operator-binary/src/main.rs @@ -86,7 +86,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 2fc5bd36386cf760d2048520302b8a59666fdfa4 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:20:29 +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 12d8090a..7ee49bf4 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 ([#591]). + [#585]: https://github.com/stackabletech/hive-operator/pull/585 +[#591]: https://github.com/stackabletech/hive-operator/pull/591 ## [25.3.0] - 2025-03-21