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

Initialize logging after native init #616

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

agners
Copy link
Collaborator

@agners agners commented Mar 5, 2024

Make sure to initialize logging after the native code init. This makes sure that the C++ pychip_native_init is called after pychip_CommonStackInit. This is required to make sure that the platform specific initialization in src/platform/Linux/PlatformManagerImpl.cpp is being called before using the SDK.

See also: project-chip/connectedhomeip#20234

Make sure to initialize logging after the native code init. This
makes sure that the C++ pychip_native_init is called after
pychip_CommonStackInit. This is required to make sure that the
platform specific initialization in src/platform/Linux/PlatformManagerImpl.cpp
is being called before using the SDK.

See also: project-chip/connectedhomeip#20234
@marcelveldt marcelveldt merged commit 0621241 into main Mar 5, 2024
3 checks passed
@marcelveldt marcelveldt deleted the init-logging-after-stack-startup branch March 5, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants