Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v4.1-branch] logging: Assign IDs to log backends early during log_core_init #87299

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Mar 18, 2025

Backport 3fac831 from #87097.

Fixes #86954

This commit moves the assignment of backend IDs from the 'z_log_init'
function to the earlier 'log_core_init' function. This ensures that
backend IDs are assigned before they are used in the 'log_backend_enable'
function, preventing incorrect settings of log dynamic filters.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
(cherry picked from commit 3fac831)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Logging labels Mar 18, 2025
@dkalowsk dkalowsk added this to the v4.1.1 milestone Mar 21, 2025
@kartben kartben merged commit ddf160a into v4.1-branch Mar 22, 2025
27 of 29 checks passed
@kartben kartben deleted the backport-87097-to-v4.1-branch branch March 22, 2025 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Logging Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

7 participants