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

Undocumented fabric-ca-client flag: -d #426

Open
joaormatos opened this issue Jul 8, 2024 · 0 comments
Open

Undocumented fabric-ca-client flag: -d #426

joaormatos opened this issue Jul 8, 2024 · 0 comments

Comments

@joaormatos
Copy link

The fabric-ca-client command supports an undocumented -d flag that sets the logging level to debug, overriding the --loglevel option.

This flag is used in tests and examples, but I couldn't find documentation for it.

It's defined (and marked as hidden) here:

Debug bool `opt:"d" help:"Enable debug level logging" hide:"true"`

This tripped me up because I was following example invocations of the command (which include the -d flag) and I was trying to reduce their verbosity via --loglevel but it didn't seem to work.
Only when I noticed and removed the mysterious flag did it start working as expected.

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

No branches or pull requests

1 participant