Skip to content

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

@IshaanDesai

Description

@IshaanDesai

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions