Skip to content

Commit 03d37e0

Browse files
authored
fix: Use json file extension for log files (#709)
* fix: Use `json` file extension for log files * chore: Update changelog
1 parent 2008f40 commit 03d37e0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+5
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 ([#709]).
17+
1418
[#703]: https://github.com/stackabletech/druid-operator/pull/703
19+
[#709]: https://github.com/stackabletech/druid-operator/pull/709
1520

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

rust/operator-binary/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async fn main() -> anyhow::Result<()> {
8585
// TODO (@Techassi): Change to CONSOLE_LOG or FILE_LOG, create constant
8686
.with_environment_variable(ENV_VAR_CONSOLE_LOG)
8787
.with_default_level(LevelFilter::INFO)
88-
.file_log_settings_builder(log_directory, "tracing-rs.log")
88+
.file_log_settings_builder(log_directory, "tracing-rs.json")
8989
.with_rotation_period(rotation_period)
9090
.build()
9191
}))

0 commit comments

Comments
 (0)