DedalusProject / dedalus

A flexible framework for solving PDEs with modern spectral methods.
http://dedalus-project.org/
GNU General Public License v3.0
489 stars 115 forks source link

Feature request: a method to toggle Dedalus output (e.g. to toggle Simulation stop time reached) #262

Closed deKeijzer closed 1 year ago

deKeijzer commented 1 year ago

Hi all,

A nice feature to have would be an option to toggle the Dedalus output natively. When e.g. executing different problems in parallel messages like below clutter the terminal and mess with a TQDM progress bar. It would be very nice to be able toggle any output natively.

2023-08-04 12:38:08,709 solvers 0/1 INFO :: Simulation stop time reached.

Bests,

Brian

kburns commented 1 year ago

Hi Brian, Dedalus uses the standard-library logging framework, so logging output can be controlled through the regular python interface. Additionally the default levels for the logging handlers that dedalus sets up can be modified through the configuration options.