Documentation/upgrades: highlight YAML change

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-04-17 13:31:25 -07:00
parent 7215e54755
commit bf8601676e

View File

@ -89,6 +89,16 @@ cfg := &embed.Config{Debug: false}
+cfg.LogOutput = []string{"stderr"}
```
#### Change in `etcd --config-file`
Now that `log-output` accepts multiple writers, etcd configuration YAML file `log-output` field must be changed to `[]string` type as below:
```diff
# Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd.
-log-output: default
+log-output: [default]
```
### Server upgrade checklists
#### Upgrade requirements