Skip to content

Feature/no dll logging #109

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

Merged
merged 7 commits into from
Dec 15, 2020
Merged

Feature/no dll logging #109

merged 7 commits into from
Dec 15, 2020

Conversation

markaren
Copy link
Member

@markaren markaren commented Dec 14, 2020

This PR avoids loading the logging dll from Python by polling log messages from the native side. This should avoid issues with loading the dll multiple times when multiple instances are loaded.

Should resolve #97

@markaren markaren marked this pull request as ready for review December 14, 2020 09:06
@markaren markaren requested a review from fcollonval December 14, 2020 19:32
@markaren
Copy link
Member Author

Still into this @fcollonval ?

@fcollonval
Copy link
Collaborator

@markaren thanks for pinging me.

Did you try to add a test case with 2 FMUs (see old commit for a basis: 82bf530)?

I moved to a new company and I'm not using FMU there. May be a former colleague of mine would want to have a look @trungleduc.

@markaren
Copy link
Member Author

Thanks, your old test works fine with this PR 👍

@fcollonval
Copy link
Collaborator

Thanks, your old test works fine with this PR 👍

Awesome, great work!

Copy link
Collaborator

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markaren markaren merged commit 23f3f6f into master Dec 15, 2020
@markaren markaren deleted the feature/no-dll-logging branch December 15, 2020 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Using simultaneously two Python FMUs
2 participants