This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Supress a debug warning in ipython notebook

0 votes

Hi,

When computing with dolfin in ipython notebook, I get the following warning:
"DEBUG:FFC:Reusing form from cache."
How can I suppress it? Adding the command %%capture does not help.

Thank you in advance for any suggestions
Vladimir

asked Feb 27, 2015 by vladimir FEniCS Novice (160 points)

1 Answer

+2 votes

Hi, try

import logging
logging.getLogger("FFC").setLevel(logging.ERROR) 
answered Feb 27, 2015 by MiroK FEniCS Expert (80,920 points)
...