From cfcfb2ba7446ac6c787c179694a705243f2c5818 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:22:42 +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 92c31608..3a168704 100644 --- a/rust/operator-binary/src/main.rs +++ b/rust/operator-binary/src/main.rs @@ -86,7 +86,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 9dfefc9617113de4ed30c9c667200179c669364d Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:37:09 +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 38f5d1fc..ee68cc9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,12 @@ (or via `--rolling-logs `). - Replace stackable-operator `print_startup_string` with `tracing::info!` with fields. +### Fixed + +- Use `json` file extension for log files ([#647]). + [#640]: https://github.com/stackabletech/hbase-operator/pull/640 +[#647]: https://github.com/stackabletech/hbase-operator/pull/647 ## [25.3.0] - 2025-03-21