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
Default logging level #879
Comments
@frheault You were looking for easy tasks. |
I think it may be a little bit more complicated and heavy than anticipated. There is not consensus across scripts on how verbose is used. Adding this in each script implies to duplicate code or to add a function to properly set verbose on each script. 🤔 |
Maybe the version could be added as epilog in all argparsers? So it would only print with --help? |
Also, a default logging.INFO might be to much verbose... what about logging.WARNING as default? And if you put -v, you then get logging.INFO or DEBUG. I could do a PR for this, looking at every scripts. |
Rapidly, I feel like it's a good option but maybe I don't have all scripts in mind. |
Now that we print the scilpy version, something like:
Will output:
Which is a little ugly. We should make sure that the version only shows with option -v.
The text was updated successfully, but these errors were encountered: