Repository navigation
fix: preserve file sinks with logging environment overrides - #1373
Merged
willkill07 merged 1 commit intoOct 16, 2026
Merged
Conversation
Signed-off-by: Will Killian <[email protected]>
Contributor
ericevans-nv
approved these changes
Oct 16, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Keep TOML file sinks active when logging environment variables set a level or stderr format. Managed workers can now write to their configured log files even when the launcher supplies these variables.
Details
[daemon.logging]. Keep explicit logging-file selection and commands that skip automatic config discovery.Validation: All 5,903 Rust tests passed on
release/0.10, with inherited logging variables removed from the test environment. The new file-output test sets those variables itself. All staged pre-commit checks passed, including formatting, Clippy, Cargo check, dependency audits, and documentation links. Language-binding suites were not run because binding initialization is unchanged. The full documentation site build was not run; this change updates prose only.Behavior change: Direct logging environment variables and CLI options now override individual TOML fields instead of replacing the full logging configuration. Explicit logging-file selectors keep their existing restrictions.
Where should the reviewer start?
Start with
LoggingArgs::resolve_with_baseincrates/cli/src/commands/logging.rs. Then reviewcli_logging_environment_overrides_keep_configured_file_outputincrates/cli/tests/cli_tests.rs, which reproduces the missing-log-file case.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit
Bug Fixes
[daemon.logging]table.Documentation