You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
IshaanDesai
changed the title
Assertion statements are masked with python logger
Assertion statements are masked with python logging module is used
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. Usingprint()
in the code itself leads to the print output being sent to the terminal. This behavior is observed when preCICE is compiled inDebug
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?
The text was updated successfully, but these errors were encountered: