[firedrake] Turning off this pyop2 message

Anna Kalogirou a.kalogirou at leeds.ac.uk
Mon Nov 9 19:09:39 GMT 2015


I think I managed to switch those messages off by writing

op2.init(log_level='WARNING')

after the imports.

Best,

Anna.

On 09/11/15 19:06, Justin Chang wrote:
> Miklos,
>
> The messages are still there. Did I need to import anything specific?
>
> Thanks,
> Justin
>
> On Mon, Nov 9, 2015 at 12:02 PM, Homolya, Miklós 
> <m.homolya14 at imperial.ac.uk <mailto:m.homolya14 at imperial.ac.uk>> wrote:
>
>     Hi,
>
>     I guess, it is:
>
>     set_log_level(WARNING)
>
>     Let me know if it works for you.
>
>     Regards,
>     Miklos
>
>     ________________________________
>     From: firedrake-bounces at imperial.ac.uk
>     <mailto:firedrake-bounces at imperial.ac.uk>
>     [firedrake-bounces at imperial.ac.uk
>     <mailto:firedrake-bounces at imperial.ac.uk>] on behalf of Justin
>     Chang [jychang48 at gmail.com <mailto:jychang48 at gmail.com>]
>     Sent: 09 November 2015 18:58
>     To: firedrake
>     Subject: [firedrake] Turning off this pyop2 message
>
>     Hi guys,
>
>     Really quick, how do you disable these messages:
>
>     pyop2:INFO Solving linear variational problem...
>     pyop2:INFO Solving linear variational problem...done
>
>     Thanks,
>     Justin
>
>     _______________________________________________
>     firedrake mailing list
>     firedrake at imperial.ac.uk <mailto:firedrake at imperial.ac.uk>
>     https://mailman.ic.ac.uk/mailman/listinfo/firedrake
>
>
>
>
> _______________________________________________
> firedrake mailing list
> firedrake at imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/firedrake

-- 
  
  Dr Anna Kalogirou
  Research Fellow
  School of Mathematics
  University of Leeds

  http://www1.maths.leeds.ac.uk/~matak/

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list