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

Assertion statements are masked with python logging module is used #107

Open
IshaanDesai opened this issue May 30, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@IshaanDesai
Copy link
Member

IshaanDesai commented May 30, 2021

When the python logging module is used to generate log output in a code which is using the python-bindings, the assertion statements are not printed as part of the log. Using print() in the code itself leads to the print output being sent to the terminal. This behavior is observed when preCICE is compiled in Debug mode.
When assertion statements are not printed it is hard to debug the code. Is there a way to ensure that the assertion statements from the bindings are printed no matter what logging is used in the code?

@IshaanDesai IshaanDesai added the bug Something isn't working label May 30, 2021
@IshaanDesai IshaanDesai changed the title Assertion statements are masked with python logger Assertion statements are masked with python logging module is used May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant