← Back to team overview

dolfin team mailing list archive

Re: silent log

 

> Alessio Quaglino wrote:
>> I'd like to turn off the progress bars for the assembly, I'm trying
>> something like this:
>>
>> set("OutputDestination", "silent");
>> assembler.assemble(load, L, mesh);
>> set("OutputDestination", "terminal");
>>
>> but it doesn't seem to work. Do I forget something?
>>
>> Thanks,
>> Alessio Quaglino
>
> It should be "output destination" (not "OutputDestination").
>
> It should also work setting "debug level" to -1.
>
> Perhaps we should increase the debug level for progress bars to 1. They
> are currently at 0 and will thus be printed on the default debug level
> which is 0. Thoughts?
>
> /Anders


I've tried:

set("output destination", "silent");
assembler.assemble(load, L, mesh);
set("output destination", "terminal");

but the progress bars are still printed out. I think it's a good idea to
move them to level 1.

Alessio




References