Skip to content
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 more detailed logging info #135

Open
f0uriest opened this issue Aug 19, 2021 · 2 comments
Open

Add more detailed logging info #135

f0uriest opened this issue Aug 19, 2021 · 2 comments
Assignees
Labels
documentation Add documentation or better warnings etc. low priority Nice to have, but not needed right away

Comments

@f0uriest
Copy link
Member

We currently have 3 different verbosity levels but stuff is always just printed to the terminal. We might consider using pythons built in logging module (https://docs.python.org/3/howto/logging.html) to get more detailed info, like monitoring each time things are computed or compiled etc. Also having it automatically log to a file might be useful, as well as having it keep track of things that happen even if the user sets verbose=0, so that they could go back later to see what was happening under the hood if things go wrong

@MothVine
Copy link
Contributor

Hmm, I'll take a look at getting log files set up this weekend. Tracking logging regardless of verbiosity seems like a good idea, though I wouldn't want the user to have a log file they view as important, set verbiosity to 0 so that it doesn't get overwritten, and then have it get overwritten anyways. But appending to a log file indefinitely also seems like a bad solution.

@dpanici dpanici added the low priority Nice to have, but not needed right away label Jun 25, 2024
@dpanici
Copy link
Collaborator

dpanici commented Jun 25, 2024

Would want to try to use JAX debugging statements to get info from inside Jitted functions

@unalmis unalmis added documentation Add documentation or better warnings etc. and removed better errors labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Add documentation or better warnings etc. low priority Nice to have, but not needed right away
Projects
None yet
Development

No branches or pull requests

4 participants