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

--version should not include log output #47

Closed
analog-cbarber opened this issue Jul 9, 2021 · 0 comments · Fixed by #64
Closed

--version should not include log output #47

analog-cbarber opened this issue Jul 9, 2021 · 0 comments · Fixed by #64

Comments

@analog-cbarber
Copy link

Currently, the --version flag includes logging output, e.g:

Log level set to ERROR
0.8.2+2.gd78be23

The log output is not useful in this case and hampers the ability for external tools to parse the version (to check for version compatibility).

Instead it should print the version and exit before initializing the logger.

analog-cbarber added a commit to analog-garage/conda-mirror that referenced this issue Jul 15, 2021
Also do not log the log level if
verbosity is zero.
xhochy added a commit that referenced this issue Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant