-
Notifications
You must be signed in to change notification settings - Fork 927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add logging to MESA #2461
Comments
I haven't looked into python logging yet, but there is extensive official documentation, for example at I only skimmed it now, but one thing that stood out to me was the possibility to use configuration files. This might make a nice entry point for 4), exposing this to users. They might just provide their own config file to determine how and what to log (debug level, file output, etc.) /edit removed wrong link |
I haven't used configuration files before. While reading the docs, it seems that it has been superseded by |
Oops, yes, I wanted to refer to that but provided the wrong link I thought |
with #2506 merged, this is now addressed. |
What's the problem this feature will solve?
Mesa's code base is expanding, and more functionality is being added all the time. This makes understanding how certain errors came about more complicated. Moreover, errors in reactive code, as used in the solara visualization, can be particullary tricky to diagnose. Having built-in logging in MESA will make diagnosing errors much easier.
Describe the solution you'd like
Add dedicated logging functionality to MESA. This entails:
mesa.model
,mesa.visualization.solara_viz
, etc.The text was updated successfully, but these errors were encountered: