From c492c2a268971feed6071dfc2d569d36d3e6d8cf Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:40:14 +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 557be8f6..950475e8 100644 --- a/rust/operator-binary/src/main.rs +++ b/rust/operator-binary/src/main.rs @@ -88,7 +88,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 022702a25e7ab61dcf52182cbfbebc61d18d9e91 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 9 Apr 2025 11:41:10 +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 6a427f56..aab6611c 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 ([#607]). + [#601]: https://github.com/stackabletech/airflow-operator/pull/601 +[#607]: https://github.com/stackabletech/airflow-operator/pull/607 ## [25.3.0] - 2025-03-21