ffcx is very chatty, generating a detailed report of its build flags everytime it’s invoked. We want to be able to control the level of detail about internal conditions that dolfinx emits.
set dolfinx to only show messages that you likely don’t want to miss. It’s the default setting actually. dolfinx.log.LogLevel.INFO will generate much more detail than you normally want to see.
The problem is that ffcx is not conforming to the log level set by dolfinx. Even with the dolfinx log level set to dolfinx.log.LogLevel.ERROR, ffcx still emits information at level INFO, e.g.
I am having the same problem. I am using vscode in WSL and running time dependent calculations that cover too many time iterations causes vscode to run out of memory, presumably because of all the log info that is generated.
I’m sorry to say that I can’t understand the fixes for this that are suggested above. Can someone help me to turn off my log info? The current setting
log.set_log_level(dolfinx.log.LogLevel.OFF)
is not helping here.