We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Per discussion in theupdateframework/python-tuf#2243: our logging behavior is currently as follows:
INFO
SIGSTORE_LOGLEVEL
SIGSTORE_LOGLEVEL=debug
DEBUG
(2) is arguably incorrect -- SIGSTORE_LOGLEVEL should probably only affect loggers under the sigstore logging hierarchy, not the entire runtime.
sigstore
Additionally, we should probably support a -v/--verbose flag with additive functionality:
-v
--verbose
sigstore.*
-vv
cc @jku
The text was updated successfully, but these errors were encountered:
_cli: refactor logging behavior
81063ac
Closes #371. Signed-off-by: William Woodruff <william@trailofbits.com>
_cli: refactor logging behavior (#372)
f0ffcba
* _cli: refactor logging behavior Closes #371. Signed-off-by: William Woodruff <william@trailofbits.com> * CHANGELOG: record changes Signed-off-by: William Woodruff <william@trailofbits.com> * README: update `sigstore --help` Signed-off-by: William Woodruff <william@trailofbits.com> * _cli: fold `level` variable Signed-off-by: William Woodruff <william@trailofbits.com> Signed-off-by: William Woodruff <william@trailofbits.com>
Successfully merging a pull request may close this issue.
Per discussion in theupdateframework/python-tuf#2243: our logging behavior is currently as follows:
INFO
and higher logsSIGSTORE_LOGLEVEL
to set the root logger, e.g.SIGSTORE_LOGLEVEL=debug
setsDEBUG
for all loggers, not just first-party ones.(2) is arguably incorrect --
SIGSTORE_LOGLEVEL
should probably only affect loggers under thesigstore
logging hierarchy, not the entire runtime.Additionally, we should probably support a
-v
/--verbose
flag with additive functionality:-v
: equivalent toDEBUG
for first-party code (i.e.sigstore.*
)-vv
: equivalent toDEBUG
for all code (i.e.DEBUG
on the root logger)cc @jku
The text was updated successfully, but these errors were encountered: