DedalusProject / dedalus

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

Update logging setup for easier script-based manipulation #195

Closed kburns closed 2 years ago

kburns commented 2 years ago

This addresses #189 by adding a helper function for creating a logging file after dedalus is instantiated/imported. This is needed because we now log from the top-level init.py to check threading environment variables.