diff --git a/ctl/server.go b/ctl/server.go index d21b8e889..1c60a7c9c 100644 --- a/ctl/server.go +++ b/ctl/server.go @@ -28,7 +28,7 @@ func BuildServerFlags(cmd *cobra.Command, srv *server.Command) { flags.StringVarP(&srv.Config.Bind, "bind", "b", srv.Config.Bind, "Default URI on which pilosa should listen.") flags.IntVarP(&srv.Config.MaxWritesPerRequest, "max-writes-per-request", "", srv.Config.MaxWritesPerRequest, "Number of write commands per request.") flags.StringVar(&srv.Config.LogPath, "log-path", srv.Config.LogPath, "Log path") - flags.BoolVar(&srv.Config.Verbose, "verbose", srv.Config.Verbose, "Verbose logging") + flags.BoolVar(&srv.Config.Verbose, "verbose", srv.Config.Verbose, "Enable verbose logging") // TLS SetTLSConfig(flags, &srv.Config.TLS.CertificatePath, &srv.Config.TLS.CertificateKeyPath, &srv.Config.TLS.SkipVerify) diff --git a/docs/configuration.md b/docs/configuration.md index 633e83f3c..4d71dee8e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -81,6 +81,17 @@ The config file is in the [toml format](https://github.com/toml-lang/toml) and h log-path = "/path/to/logfile" ``` +#### Verbose + +* Description: Enable verbose logging. +* Flag: `--verbose` +* Env: `PILOSA_VERBOSE` +* Config: + + ```toml + verbose = true + ``` + #### Max Writes Per Request * Description: Maximum number of mutating commands allowed per request. This includes SetBit, ClearBit, SetRowAttrs, SetColumnAttrs, and SetFieldValue.