-
Notifications
You must be signed in to change notification settings - Fork 12
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
[feature] : Reduce command line output for info
logging level
#929
Comments
info
logging levelinfo
logging level
How many people beyond those developing care at all about the output? I'm not sure making everything Having a After all whilst a batch of images are processing there is no need to sit and watch the progress bar and the time can be used productively elsewhere1 @SylviaWhittle mentioned she had some thoughts on overhauling logging, what are your thoughts? I quite like loguru which has been used in Footnotes
|
So the experimentalists here say that:
I pitched my solution to show only the bits mentioned above and they like that. So maybe if there is another, not What's the key differences between what we use now and loguru? |
Just setting the log-level to If people/users need some indication of progress is required we already use
Note the progress bar at the end (and the omission of the summary).
|
Oh that's interesting, I've found you can do that with the logger we have at the moment by specifying the error of the except statement by passing to an With the |
For the time being I think this should go into the backlog as we need to focus on the functionality being merged and a new version realeased. I've still got quite a few broken tests to investigate and resolve. |
Is your feature request related to a problem?
Much of the command line output for TopoStats is not required for observing the running of a TopoStats workflow by the user, and the sheer number of lines makes it difficult to see error or warning logs too.
This has already been done for the
topology
branch and its associated steps (disordered_tracing, nodestats, ordered_tracing, and splining).Describe the solution you would like.
I have already amended the output in the "dnatracing" section to only include the module name and the number of things it's processing as this can change throughout the processing:
Any broad except statements contain the step its stopped, the grain it's stopped for, and the traceback of the error:
Everything else is moved to LOGGER.debug()
Describe the alternatives you have considered.
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: