Skip to content

Commit 4351d7d

Browse files
fix: Use json file extension for log files (#553)
* fix: Use `json` file extension for log files * chore: Update changelog * Update CHANGELOG.md --------- Co-authored-by: Techassi <[email protected]>
1 parent ef1a6b5 commit 4351d7d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ All notable changes to this project will be documented in this file.
1111
(or via `--rolling-logs <DIRECTORY>`).
1212
- Replace stackable-operator `print_startup_string` with `tracing::info!` with fields.
1313

14+
### Fixed
15+
16+
- Use `json` file extension for log files ([#553]).
17+
1418
[#547]: https://github.com/stackabletech/spark-k8s-operator/pull/547
19+
[#553]: https://github.com/stackabletech/spark-k8s-operator/pull/553
1520

1621
## [25.3.0] - 2025-03-21
1722

rust/operator-binary/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async fn main() -> anyhow::Result<()> {
102102
Settings::builder()
103103
.with_environment_variable(ENV_VAR_CONSOLE_LOG)
104104
.with_default_level(LevelFilter::INFO)
105-
.file_log_settings_builder(log_directory, "tracing-rs.log")
105+
.file_log_settings_builder(log_directory, "tracing-rs.json")
106106
.with_rotation_period(rotation_period)
107107
.build()
108108
}))

0 commit comments

Comments
 (0)