Add option to Core settings to enable duplicated logs#6400
Merged
Conversation
0e7e8ef to
2b2f67c
Compare
Introduce new option `duplicate_log_file` to HA Core configuration that will set an environment variable `HA_DUPLICATE_LOG_FILE=1` for the Core container if enabled. This will serve as a flag for Core to enable the legacy log file, along the standard logging which is handled by Systemd Journal.
abmantis
approved these changes
Dec 5, 2025
sairon
added a commit
to home-assistant-libs/python-supervisor-client
that referenced
this pull request
Dec 8, 2025
Add duplicate_log_file added in home-assistant/supervisor#6400 to Core info/options API.
sairon
added a commit
to home-assistant/cli
that referenced
this pull request
Dec 8, 2025
Implement flag for setting home-assistant/supervisor#6400.
sairon
added a commit
to home-assistant/developers.home-assistant
that referenced
this pull request
Dec 8, 2025
Document option added in home-assistant/supervisor#6400.
7 tasks
sairon
added a commit
to home-assistant/cli
that referenced
this pull request
Dec 8, 2025
Implement flag for setting home-assistant/supervisor#6400.
sairon
added a commit
to home-assistant-libs/python-supervisor-client
that referenced
this pull request
Dec 8, 2025
Add duplicate_log_file added in home-assistant/supervisor#6400 to Core info/options API.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Proposed change
Introduce new option
duplicate_log_fileto HA Core configuration that will set an environment variableHA_DUPLICATE_LOG_FILE=1for the Core container if enabled. This will serve as a flag for Core to enable the legacy log file, along the standard logging which is handled by Systemd Journal.Type of change
Additional information
duplicate_log_fileCore option developers.home-assistant#2888--duplicate-log-fileCore option cli#618Checklist
ruff format supervisor tests)If API endpoints or add-on configuration are added/changed: