Skip to content

Conversation

@sairon
Copy link
Member

@sairon sairon commented Dec 5, 2025

Proposed change

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.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to the supervisor)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Ruff (ruff format supervisor tests)
  • Tests have been added to verify that the new code works.

If API endpoints or add-on configuration are added/changed:

@sairon sairon requested review from abmantis and agners December 5, 2025 14:07
@sairon sairon added missing-documentation Added to pull requests that needs a docs, but none is linked needs-cli Pull requests needs CLI changes but none is linked needs-client-library Pull requests needs client library changes but none is linked new-feature A new feature labels Dec 5, 2025
@sairon sairon force-pushed the duplicate-log-file branch from 0e7e8ef to 2b2f67c Compare December 5, 2025 14:08
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.
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
sairon added a commit to home-assistant/developers.home-assistant that referenced this pull request Dec 8, 2025
@sairon sairon removed missing-documentation Added to pull requests that needs a docs, but none is linked needs-cli Pull requests needs CLI changes but none is linked needs-client-library Pull requests needs client library changes but none is linked labels Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants