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

Make the debug flag visible in --help and docs #288

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/servercli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Fabric-CA Server's CLI
--csr.keyrequest.reusekey Reuse existing key during reenrollment
--csr.keyrequest.size int Specify key size
--csr.serialnumber string The serial number in a certificate signing request to a parent fabric-ca-server
-d, --debug bool Enable debug level logging (slows server) (default false)
--db.datasource string Data source which is database specific (default "fabric-ca-server.db")
--db.tls.certfiles strings A list of comma-separated PEM-encoded trusted certificate files (e.g. root1.pem,root2.pem)
--db.tls.client.certfile string PEM-encoded certificate file when mutual authenticate is enabled
Expand Down
2 changes: 1 addition & 1 deletion lib/serverconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type ServerConfig struct {
// Cross-Origin Resource Sharing settings for the server
CORS CORS
// Enables debug logging
Debug bool `def:"false" opt:"d" help:"Enable debug level logging" hide:"true"`
Debug bool `def:"false" opt:"d" help:"Enable debug level logging (slows server)"`
// Sets the logging level on the server
LogLevel string `help:"Set logging level (info, warning, debug, error, fatal, critical)"`
// TLS for the server's listening endpoint
Expand Down
Loading