Suppress variational solve output

Howdy so when solving the pde I get

Solving nonlinear variational problem.
  Newton iteration 0: r (abs) = 9.318e-04 (tol = 1.000e-10) r (rel) = 1.000e+00 (tol = 1.000e-09)
  Newton iteration 1: r (abs) = 5.613e-16 (tol = 1.000e-10) r (rel) = 6.023e-13 (tol = 1.000e-09)
  Newton solver finished in 1 iterations and 1 linear solver iterations.

In previous versions I would just do
set_log_active(False)
But this doesnt work anymore it seems.

Anyone know how I should do this now?

set_log_level(LogLevel.ERROR)

2 Likes

You could also do set_log_level(30) in order to only have warnings.

R