Skip to content

Commit

Permalink
Documentation/op-guide: add missing flags, clarify "--initial*" flags
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Apr 20, 2018
1 parent 01fc290 commit bd1d8b0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Documentation/op-guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ To start etcd automatically using custom settings at startup in Linux, using a [

## Clustering flags

`--initial` prefix flags are used in bootstrapping ([static bootstrap][build-cluster], [discovery-service bootstrap][discovery] or [runtime reconfiguration][reconfig]) a new member, and ignored when restarting an existing member.
`--initial-advertise-peer-urls`, `--initial-cluster`, `--initial-cluster-state`, and `--initial-cluster-token` flags are used in bootstrapping ([static bootstrap][build-cluster], [discovery-service bootstrap][discovery] or [runtime reconfiguration][reconfig]) a new member, and ignored when restarting an existing member.

`--discovery` prefix flags need to be set when using [discovery service][discovery].

Expand Down Expand Up @@ -312,6 +312,16 @@ The security flags help to [build a secure etcd cluster][security].

## Logging flags

### --logger
+ Specify 'zap' for structured logging or 'capnslog'.
+ default: capnslog
+ env variable: ETCD_LOGGER

### --log-output
+ Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd, or list of comma separated output targets.
+ default: default
+ env variable: ETCD_LOG_OUTPUT

### --debug
+ Drop the default log level to DEBUG for all subpackages.
+ default: false (INFO for all packages)
Expand Down

0 comments on commit bd1d8b0

Please sign in to comment.