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.
The
fabric-ca-clientcommand supports an undocumented-dflag that sets the logging level to debug, overriding the--logleveloption.This flag is used in tests and examples, but I couldn't find documentation for it.
It's defined (and marked as hidden) here:
fabric-ca/lib/clientconfig.go
Line 44 in d3c7ae2
This tripped me up because I was following example invocations of the command (which include the
-dflag) and I was trying to reduce their verbosity via--loglevelbut it didn't seem to work.Only when I noticed and removed the mysterious flag did it start working as expected.