dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24482
Re: [Question #171789]: How to turn off console output in adaptive solve?
On Tue, Sep 20, 2011 at 05:45:37PM -0000, Marie Rognes wrote:
> Question #171789 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/171789
>
> Marie Rognes proposed the following answer:
> On 09/20/11 19:25, Anders Logg wrote:
> > Question #171789 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/171789
> >
> > Status: Open => Answered
> >
> > Anders Logg proposed the following answer:
> > On Tue, Sep 20, 2011 at 05:05:56PM -0000, Sergey Alyaev wrote:
> >> New question #171789 on DOLFIN:
> >> https://answers.launchpad.net/dolfin/+question/171789
> >>
> >> How to turn off console output in adaptive solve?
> >> I cannot find a place to look up possible strings for solver.parameters.
> > Try this:
> >
> > set_log_active(False)
>
>
> ... or
>
> set_log_level(WARNING)
>
> since set_log_active is deprecated:
>
> >> help(set_log_active):
>
> Help on function set_log_active in module dolfin.cpp:
>
> set_log_active(active=True)
> Turn logging on or off (deprecated)
Why is it deprecated? It shouldn't be. The function logging() on the
other hand is deprecated and replaced by set_log_active().
--
Anders
Follow ups