dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #23288
Re: [Question #158020]: mute Dolfin's output
On Wed, May 18, 2011 at 11:31:00AM -0000, Bento wrote:
> New question #158020 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/158020
>
> Hi,
>
> when I solve equations with Dolfin, I get a lot of output like "Applying boundary condition to linear system" or "solving linear system of size ...". Is it possible to turn this output off? I would like to print things on the command line, but these get lost between all the Dolfin output, especially in time-dependent problems, where I solve linear systems in every time-step.
>
> Thank you!
Just call
set_log_active(False)
More fine-grained control is available through the function set_log_level.
--
Anders
Follow ups
References